Problem C
Polygon Area
Compute the area of a simple polygon, and the direction (clockwise or counterclockwise) in which its vertices are given.
Input
Input contains up to
Output
For each test case, output a line
Sample Input 1 | Sample Output 1 |
---|---|
3 0 0 10 0 0 10 5 41 -6 -24 -74 -51 -6 73 17 -30 -34 0 |
CCW 50.0 CW 3817.5 |