Question: http://mirror.codeforces.com/contest/1004/problem/D Ideone solution: https://ideone.com/ntZyd6 Codeforces solution: http://mirror.codeforces.com/contest/1004/submission/40031007
I can't figure this out. Any help would be appreciated.
Diff output on Ideone and codeforces.
Question: http://mirror.codeforces.com/contest/1004/problem/D Ideone solution: https://ideone.com/ntZyd6 Codeforces solution: http://mirror.codeforces.com/contest/1004/submission/40031007
I can't figure this out. Any help would be appreciated.