Codeforces 1970
Probably a bug. I don’t know how what happened here exactly.
Codeforces Round 1123 Solution Discussion