| acmsguru |
|---|
| Finished |
and
are called the side edges and line segment
the top edge.
does not contain any internal points of any buildings. It is allowed for the segment to contain any (even infinite) number of edge and corner points of buildings.
), the number of test cases. The line is followed by T blocks, each describing a test case.
,
).
. sample input | sample output |
2 4 3 4 1 5 6 1 7 8 1 1 2 10 6 3 4 1 5 6 1 7 8 1 1 2 10 11 12 10 9 10 1 | 5 4 |
| Name |
|---|


