runtime error in prime palindrome problem

http://www.codechef.com/viewsolution/2062157
what is wrong with my code? on submission,its coming runtime error…