Given a list of
Constraints
For any rectangle,
For at most 30% of marks,
Input Specification
The first line will contain a single integer,
The next
Note that the second line of input corresponds to the rectangle that must be contained within the polygon.
Output Specification
Output the desired perimeter of the polygon.
Sample Input
Copy
4
8 4 13 8
2 1 6 7
4 7 9 11
14 7 19 11
Sample Output
Copy
32
Comments