http://mirror.codeforces.com/contest/691/submission/20656594
http://mirror.codeforces.com/contest/691/submission/20656228
I wonder why one is AC but the other got TLE.
http://mirror.codeforces.com/contest/710/submission/20661365
http://mirror.codeforces.com/contest/710/submission/20661475
And one is AC but the other got CE.