#830C

Codeforces 830C Bamboo Partition 其他

原文链接https://www.cnblogs.com/zhouzhendong/p/CF830C.html把问题转化成求最大的$d$,满足$$sum_{1leqileqn}(lceila_i/dceilimesd-a_i)leqk$$移项$$(dsum_{1leqileqn}lceila_i/dceil)leqk+s...