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块M巧克力装前j个盒子的最多数量,最后对枚举一次,找出L巧克力可以补足其它盒子时的最大值,但是这路径怎么存?Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator