My code is not printing anthting

showing wrong answer for all test cases but running fine on custom

Hey @chemant077
You can verify what’s going wrong with this test case
Q : 3
10
3 5
7 8
44 56
36 54
88 91
77 83
2 4
9 99
45 78
31 75
5
10 6
95 90
96 30
97 52
98 86
2
3 54
37 100
1
56 33
1
5 6
1
97 95
A : 3
3
17

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.