Test case 2 failed
hi @ishanksetia345
instead of a single space, give a tab space…
corrected code -->
It’s working fine and should pass all test cases…
still the same issue test case 2 fails
instead of int, try using long long it…
still same error i have used both unsigne long int and long long int but test case 2 always fails
hi @ishanksetia345
Ok I found out the error…
For input 1, output should be simply
0
But ur code is giving
0
1 1
Try to correct this…
it should work fine…
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.