Problems
Convex Hull
Convex Hull
Given n points. Find the area of their convex hull.
Input
The first line contains the number of points n (3 ≤ n ≤ 106
). Next n lines contains the points coordinates. All coordinates are integers, not greater than 109
.
Output
Print the area of convex hull with maximal accuracy.
Input example #1
5 0 0 2 0 2 2 1 1 0 2
Output example #1
4