what’s wrong with this code
Range Xor, getting only one AC
Hello @archit_18,
I apologize for replying late.
Run your code for following output to understand the logical error of your code:
5
0 3
0 5
0 10
0 6
1 1 4 6
5
0 3
0 5
0 10
0 6
1 1 3 6
5
0 3
0 5
0 10
0 6
1 1 2 6
5
0 3
0 5
0 10
0 6
1 1 1 6
5
0 3
0 10
0 5
0 6
1 1 2 6
5
0 3
0 5
0 10
0 6
1 1 1 6
5
0 10
0 5
0 3
0 6
1 1 1 6
Hope, this would help.
If you still have doubts, let me know.
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.