Unable to get AC

The code getting submitted on leet code but not on coding blocks.

It might be because of the output format. Consider that, you solution will get accepted.

@mr.encoder only one test is failing . if the output format is wrong then none test should pass.

You haven’t told me that only single test case is not getting passed no? Tell me the test case number and also share your code with me.

@mr.encoder Here is the code


And it is failing on test 0

I have replied on chat, please look over there :smile:

@mr.encoder Yeah !! I’ve seen your message and it worked.

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.