摘要: T1:农场 题意:有一个长为 $n$ 的序列 $a$,要求将其分成尽可能多的部分,使得每一部分的 $a_i$ 的和相等。求最多能分成的部分数。 $30\%:1\le n\le 1000$ $80\%:1\le n\le 10^5$ $100\%:1\le a_i\le 10,1\le \sum a_ 阅读全文
posted @ 2018-12-15 15:04 ATS_nantf 阅读(481) 评论(0) 推荐(0) 编辑