What am i missing on this python code?
Hello guys, i'm practicing with python and i don't understand why this sub 58435675 on codefroces always print -1 while on ideone just works fine. Can you help me? <.<
-1
If you have any advice on how to improve my code in python it is appreciated.
ICPC NA North Central and South Division