Codeforces Round #629 (Div. 3) C. Ternary XOR(贪心)

NoSuchKey