← Home
test 2 failed
input:
5
2 6
2 5
1 7
1 5
1 3
expected:
5

got:
6