Codeforces Round #251(Div. 2) 439B. Devu, the Dumb Guy 贪心

NoSuchKey