sir this picture is from the question defkin (defend kingdom)
this picture confused me a lot and waste my time a lot too.
Sir ,this picture is wrong
you can also understand the problem by the explination of the test case:
3
1 1
2 4
5 2
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)
Please mark the doubt resolved and rate it Thanks!