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:多重背包转化为01背包,我的63ms才过,换成完全背包再写下。。。

Posted by lijingwei at 2011-08-17 15:05:51 on Problem 1276 and last updated at 2011-08-17 15:11:47
In Reply To:Re:多重背包转化为01背包,我的63ms才过,换成完全背包再写下。。。 Posted by:jayhaizeizai at 2011-08-17 14:41:03
啊 我的就是普通的转化成01背包的做法啊。。。比如把13分成1,2,4,6这样处理,
刚刚完全背包过了一遍,16ms,数组开小了点wa了两次,有n=10万的数据的

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