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

如果是三个人同时洗怎么转换为背包

Posted by peace567 at 2017-06-07 10:31:53 on Problem 3211
两个人洗, 背包容量是sum/2, 求出最大并行时间dp[sum/2], 然后sum - dp[sum/2]
三个人洗, 先求三人并行时间, 再求两人并行时间
[3,4,5] sum = 12, sum/3 = 4, dp[sum/3] = 4, 显然这不是三人并行时间
有大神能考虑一下吗?

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