Codeforces Round #632 (Div. 2) F. Kate and imperfection(数学+贪心)

NoSuchKey