Innerve summer code challenge

I am new to codechef. I have a problem with the solution submission. While I am running my code in my system the code executes correctly without an error but when im submutting the code it is showing runtime error. can anyone help me with this?

thanks in advance.

You cannot disscus questions while contest is going on:)

But surely will help when contest ends.And yep go though forum’s try to relate it with your problem to help u.

Happy coding.

Nope. Welcome in advance.
Bounded by rules of codechef. But you can check forum to know common reason for that run time error.

I am also facing the same problem. The code compiles on idle but shows runtime error after submission

@ayushomi007 Yes this happens as you have a time limit of 1 or 1.5 secs whereas you have a time limit of 5 secs on IDE