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:请大牛讲解一下这个题是什么意思,搞半没读懂啊???

Posted by blackking at 2009-12-01 21:33:01 on Problem 1010
In Reply To:Re:请大牛讲解一下这个题是什么意思,搞半没读懂啊??? Posted by:chongchongxiong at 2009-09-28 21:26:59
> 题意:集邮者花一定的钱数去购买邮票,当然所购买的邮票类型越多越好,
> 当出现类型种数相同时,取邮票数少的方案,如果邮票数也相同,
> 则取有最大面值邮票方案,否则,则输出Tie.当然,还有可能没有符合的方案。

/* 
constraints:
	1. total num. of stamps: <= 25;	-- customers gets
	2. total types of stamps: <=4;	-- by provider	

RULES: (dec. for a tie)
	1. as much different types as possible for one person
	2. as few duplicate stamps as possible
	3. highest single value
*/

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