Java Code giving NZEC error

Hi My Java code gives NZEC error when submitting on CodeChef.
However it runs successfully for me with the correct result.

The problem is Golf Course problem:

My solution is:
http://www.codechef.com/viewsolution/2806694

Can any one please tell me what is wrong

Thanks

I am also getting same issue.Have u solved it??