Whats wrong in this code

it is passing the given test case but showing wrong answer on submission

link : https://ide.codingblocks.com/s/170133

passing the given test cases*
but showing wrong answer on submission

There may be some backend problem, you can move forward with other problems.

1 Like

No bro, it is showing the same timelimit error on two cases at hackerblocks.

But you said you are passing the test cases.
Whats the problem you are facing.??

time limit on 2 test cases and correct on three

I dont think you shall get TLE for your code. I’ll try to find out the problem and get back to you

okk…

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.