GNU C++ 14 и MS VS 2010
There are 2 same submissions: 20406009 — WA, 20406007 — OK. The only diffrence is that the first submission has compiled by GNU C++14, second — MS VS 2010. Why second submission passed the tests?
Codeforces Round 943 Solution Discussion