Runtime error

http://www.codechef.com/viewsolution/3960401
why Run time error?
please help!!

//