Author: | T. Chistyakov, A. Klenin | Time limit: | 2 sec | |
Input file: | input.txt | Memory limit: | 24 Mb | |
Output file: | output.txt | |||
Maximum points: | 100 |
You need to divide a non-degenerate convex polygon with a horizontal line into two parts of equal area.
The polygon is specified by N vertices in the clockwise order.
3 ≤ N ≤ 1000000
1 ≤ xi, yi ≤ 1000000
No. | Input file (input.txt ) |
Output file (output.txt ) |
---|---|---|
1 |
|
|