Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:请大牛讲解一下这个题是什么意思,搞半没读懂啊???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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator