Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
此题DP不可以吧设f[i][j]表示前i个人抄前j本书所用最短时间。 f[i][j]=min{max{f[i-1][k],sum[k+1][j]}} (i-1<=k<j) 但是貌似不满足子问题最优性。 考虑 1 2 8 50 给三个人抄 根据上面的方程应这样:1 2 / 8 / 50 但是要让前面的人抄得少,应该这样划分:1 / 2 8 / 50 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator