run time error

my program works perfectly on my compiler but if often shows runtime error when i submit to codechef can
anyone suggest me to overcome this problem…

Please provide a link to the problem statement and also to your code which is giving run time error. I opened your profile but could not determine which problem or solution you were referring to.

Here is a reference to the FAQ section which will give you a brief idea about the different errors.