Python Nzec error

Here’s the link to my answer to “Am I a Fibonacci Number” question from november cook-off :
http://www.codechef.com/viewsolution/2997275
Can someone please explain me why I get the Nzec error?

I think there were trailing spaces in the input file which lead to an exception.
I also faced the same problem.
I then used raw_input() along with typecasting to solve the problem.

Hope this helps :slight_smile:

2 Likes

@samfisher Thanks! It really helped :slight_smile: