Chef Jumping

Getting NZEC error… Working in C…
http://www.codechef.com/viewsolution/3865381
Any help??

Please refer to this FAQ. NO other assistance can be pprovided during a live contest.