I have tested my code on ideone (even with extreme cases), and it works fine.
But SPOJ still returned a NZEC to me.
I have no idea of what is the problem of my code. Could anybody offer a help?
Much appreciated.
Problem code isMISERMAN, id is #7436435
and here's my code:
http://ideone.com/RAVt4