Problems faced while submitting codef

when i run the code the output is correct, but when i submit it , the compiler shows run error. what should i do?