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 itsyarkee at 2010-07-21 13:45:43 on Problem 1276
In Reply To:Re:按照《背包9讲》的伪代码,多重背包,1次AC,注意f[i]初始化为0~ Posted by:tanmingwei at 2010-02-12 15:46:30
mlutiplePack函数里面,先account-=k,然后k*=2 你的反了。

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