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 |
这题真的没那么简单,我把每一个物品拆成1,2,4,8,16……等二进制形式就是超时,上网搜后才知道还有这么一种更高效的多重背包算法,在这里就不多说了,网上有很多。Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator