codeforces 777 BGame of Credit Cards(贪心)

NoSuchKey