CALCAREA - Calculate the Area
Very simple. You are given polygon and you need to calculate his area. The polygon does not self intersect
A lonely integer N (3 <= N <= 10000) - the number of nodes. On each of the next N lines you will find the coordinates of the next vertex from the polygon.
A single integer - the rounded up area of the polygon.
Input: 4 0 0 1 0 1 1 0 1 Output: 1
Is it a convex polygon ?Last edit: 2017-05-24 13:38:30