Why i am getting a runtime error during submission but it is running successfull

Question is Contest Page | CodeChef
My Code is Solution: 57996599 | CodeChef