E. Yet Another Division Into Teams(Codeforces Round #598 (Div. 3))(划分数-贪心-模拟)

NoSuchKey