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

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

Posted by sjb358714 at 2009-08-22 16:33:47 on Problem 1276
In Reply To:按照《背包9讲》的伪代码,多重背包,1次AC,注意f[i]初始化为0~ Posted by:erikajason at 2009-08-18 17:30:43
> 比较特别的是这题的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