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

问下5 5 1 4 和 5 5 2 3是否tie

Posted by linkedQueue at 2008-04-15 23:08:26 on Problem 1010 and last updated at 2008-04-15 23:12:21
stamp种类输入为 
1 2 3 4 5 0
而request是15,可以看出5 5 2 3 和 5 5 1 4为符合要求的种类最多的allocation,那么根据题意,它们是tie呢,还是优先选出5 5 1 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