why do I get a run time Error ?

(code edited by @cyberax for the reason given below :

the poster is invited to post again when the contest is ended.)

@pallavi046: The solution that you posted is the solution of one of the problem from the live contest going on at codechef. Even though its incorrect solution, you shouldn’t do that. Such an act leads to suspension of account. Refer the guidelines http://discuss.codechef.com/questions/855/what-kind-of-comment-should-i-post-on-the-problem-page.

1 Like