Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

按照《背包9讲》的伪代码,多重背包,1次AC,注意f[i]初始化为0~

Posted by erikajason at 2009-08-18 17:30:43 on Problem 1276 and last updated at 2009-08-18 17:31:53
比较特别的是这题的cost和weight是一回事。所以函数的形参还可以少一个。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator