NZEC Error

I always seem to get an NZEC Error in java while reading inputs. It works perfectly well on my ide but here I dunno what goes wrong.
Need some help her plz
I use Scanner to read input , I even tried using buffered reader but in vain!!

Can you provide link to some such submissions where you are getting NZEC? This will help one find the mistake you are making. In case you are using Codechef IDE, don’t forget to enter custom input before hitting run. That’s usually the case when one uses Codechef IDE.