Codeforces Global Round 9 - D. Replace by MEX (暴力破解)

NoSuchKey