Convex Hull
Medium
Execution time limit is 1 second
Runtime memory usage limit is 122.486 megabytes
Given n points. Find the area of their convex hull.
Input
The first line contains the number of points n (3 ≤ n ≤ 10^6
). Next n lines contains the points coordinates. All coordinates are integers, not greater than 10^9
.
Output
Print the area of convex hull with maximal accuracy.
Examples
Input #1
Answer #1
Submissions 494
Acceptance rate 12%