codeforces 965c Greedy Arkady (思维题)

NoSuchKey