http://codeforces.net/contest/691/submission/20656594
http://codeforces.net/contest/691/submission/20656228
I wonder why one is AC but the other got TLE.
http://codeforces.net/contest/710/submission/20661365
http://codeforces.net/contest/710/submission/20661475
And one is AC but the other got CE.
Use #include <stdio.h> in C++14 20656880
If you want more information about why it got AC read this.
The other one does not give CE 20662424
Maybe there was an error in Codeforces servers.