Area of a Polygon
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The coordinates of consecutive points of polygon are given. Find the area of the polygon.
Input
The number of polygon vertices is given in the first line. In next lines the integer coordinates of consecutive vertices are given.
Output
Print the area of the polygon with decimal digits.
Examples
Input #1
Answer #1
Submissions 12K
Acceptance rate 35%