Baltic Olympiad in Informatics: 2009 Day 2, Problem 1
You are given
Input Specification
The first line of input contains an integer
Each of the following
No two points will be located at the same coordinates.
Output Specification
The first and only line of output should contain a single integer, the largest possible area of a rectangle.
Sample Input
Copy
8
-2 3
-2 -1
0 3
0 -1
1 -1
2 1
-3 1
-2 1
Sample Output
Copy
10
Explanation
Constraints
Grading
For test cases worth 20% of the total score,
Comments