← Home
wrong answer on case 20
input:
4
4 4
4 3
expected:
YES
0 0
1 0
2 0
3 0

got:
YES
0 0
1 0
-1 0
2 0