← Home
wrong answer on test 1
input:
8
1 3
3 7
10 21
12 85
1 60
2 15
10 26
1 1000

expected:
0
0
0
0
0
0
0
0
got:
1
1
3
18
15
3
4
250
exit status 1