Problems
Farmer John would like to create a triangular pasture for his cows.
There are
What is the maximum area of a pasture that Farmer John can form? It is guaranteed that at least one valid triangular pasture exists.
Input
The first line of the input contains the integer
Output
As the area itself is not necessarily an integer, output two times the maximum area of a valid triangle formed by the fence posts.
Example
4
0 0
0 1
1 0
1 2
2
Posts at