CodeForces - 1251C (思维+贪心+归并排序)

NoSuchKey