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:问下5 5 1 4 和 5 5 2 3是否tieIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator