Codeforces Round #600 (Div. 2) D (贪心)

NoSuchKey