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:问下5 5 1 4 和 5 5 2 3是否tie

Posted by yzhw at 2009-02-08 19:23:09 on Problem 1010
In Reply To:问下5 5 1 4 和 5 5 2 3是否tie Posted by:linkedQueue at 2008-04-15 23:08:26
> stamp种类输入为 
> 1 2 3 4 5 0
> 而request是15,可以看出5 5 2 3 和 5 5 1 4为符合要求的种类最多的allocation,那么根据题意,它们是tie呢,还是优先选出5 5 1 4?
你的这组数据有问题啊,最优解是1 2 3 4 5

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