Codeforces Round #604 (Div. 2) D - Beautiful Sequence(枚举+构造)

NoSuchKey