One test case got failed. Why?
@mb129162
Hey, your code fails on input:
4
4 5
5 10
11 5
15 12
25 10
answer is 2 but your output is 4. try to dry run your code with this
@mb129162
Hey, your code fails on input:
4
4 5
5 10
11 5
15 12
25 10
answer is 2 but your output is 4. try to dry run your code with this