← Home
wrong answer on test 1
input:
2
2 1
2
6 7
2 1
1 9
2 1
2
7 7
4 0
3 7
expected:
YES
1 1
1 2
YES
1 1
1 2
got:
YES
1 2
1 1
YES
1 2
1 1