Hi,
Have a look at my submission https://codeforces.net/contest/1096/submission/47671275. It throws weird error, can someone help me understand why the error only occurs on codeforces judge and not on any other.
It works fine on ideone https://ideone.com/ZwFeP2 and on my local machine.
Thanks!