PALIN -Getting run time error(NZEC)

I am submitting the solution for this problem in java and my code was running fine in the Eclipse IDE
But why am I getting run time error here?
My soln: http://www.codechef.com/viewsolution/4117364

//