| acmsguru |
|---|
| Finished |
—coordinates of the segment, which represents j-th shelf. All coordinates in the input do not exceed 106 by absolute value. It is guaranteed, that the point (0,0) and each segment lie strictly inside the polygon. None of segments contains the point (0, 0). sample input | sample output |
3 1 0 2 -2 -1 3 -3 -1 -1 1 -1 | 4.615855548972 Explanatory picture: |
sample input | sample output |
4 3 -2 -2 2 -2 2 2 -2 2 -1 0 0 -1 1 -1 1 1 -1 1 1 1 | 12.000000 Explanatory picture: |
| Name |
|---|


