TLE on running but accepted on submitting (SC31)

https://www.codechef.com/viewsolution/27893328

Can anyone tell where I went wrong? It also shows TLE on being run but when I submit it, it gets accepted and I am getting full score.
Thanks.

You may have not given any input while running

1 Like

How to give inputs? I have just started to submit problems and can’t see any input option.

Look for a checkbox saying “Custom Input” in CodeChef IDE.
Click on that and you will get an input space for custom inputs. (by the way, Miracle fan here too! :slightly_smiling_face:)

1 Like

Thank you, it is there. And yes, nice to see another Miracle fan here.