Https://ide.codingblocks.com/s/238481

case 2 showing error

just let me look into it

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.

now its not even compiling

again testcase 1 its showing TLE.

Hey @ashutoshu
Can you please send me the code you want me to refer
I don’t know if its the one above or the most recent submission you have made
Thanks

@ashutoshu
Your code is unfortunately completely incorrect
Refer to this code once