Getting TLE for one test case in the problem

Here is the link to my code https://ide.codingblocks.com/s/591905 Please check what is wrong.

https://ide.codingblocks.com/s/591943 i have made few changes in ur code… try submitting it… 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.

Still getting TLE for one test case

https://ide.codingblocks.com/s/591943 try this… it is passing all test cases…

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.

The link you have shared contains hello world only. Please share the correct link.

i think there is some problem in coding blocks ide

your code is also empty

here is the new link - https://onecompiler.com/cpp/3x7783g96

in your code there are some mistakes
logic is correct but implementation is not

check out this code

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.