I don’t understand the sample testcase given below. Can you please explain why sample input and explanation data differ?
Sample Input has (1,1) (2,4) (5,2) but explanation is for (2,2), (2,4), (5,2), (5,4).
Sample Input
3
1 1
2 4
5 2
Sample Output
2
Explanation
Area between (2,2), (2,4), (5,2), (5,4)
(For the largest possible region found the area will be calculated from the edge next to the left edge, the edge above the bottom edge, the topmost edge and the rightmost edge i.e for the region (2,2) , (2,4) , (5,2) , (5,4) the actual area will be considered from (3,2), (3,4), (5,2), (5,4) respectively. Try to draw the diagram and you will realize the modified picture of the area)