Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

NZEC in Python code for DIGJUMPS.

$
0
0

Hello, I have this Python solution for Chef and Digit Jumps which is giving me an NZEC error. I believe the algorithm is correct and BFS-like, but I am new to debugging NZECs in Python. Can anyone point out what may be causing it? Any help would be greatly appreciated.

IDEOne link to my code

Also, any improvement suggestions are appreciated.


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>