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:TLE,用的背包DP???????????

Posted by kyxyljb at 2009-08-11 15:00:49 on Problem 3211
In Reply To:TLE,用的背包DP??????????? Posted by:BJ051155 at 2007-07-12 20:32:11
你用scanf就不会超时了,但你的代码是WA的


我是先按颜色排序,用背包求每种颜色衣服的最少时间,加起来就可以了

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