| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 512 MB | 43 | 13 | 13 | 43.333% |
Although bobo is truly smart, he just like you to find a simple polygon for him. The polygon you are going to find should satisfy the following conditions.
First line of the input contains two integers $l$ and $s$ (4ドル \leq l \leq 10^9, 1 \leq s \leq 10^9$).
The first line contains an integer $n,ドル which denotes the number of vertices of the polygon you have found (4ドル \leq n \leq 1000$).
Each of the following $n$ lines contains 2ドル$ integers $x_i, y_i,ドル which denote the coordinates of points (in clockwise or counter-clockwise order) (0ドル \leq x_i, y_i \leq 10^9$).
Any appropriate solution will get accepted.
If no such polygon can be found, simply print "-1".
4 1
4 0 0 1 0 1 1 0 1
4 2
-1