Codeforces Round #636 (Div. 3) E. Weights Distributing 贪心+图

NoSuchKey