Codeforces Round #616 (Div. 2) C - Mind Control(暴力枚举)

NoSuchKey