| ||||||||||
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 |
测试数据太弱了,建议加上这个例子……In Reply To:Re:这题贪心法怎么证明? Posted by:cookie at 2006-10-03 12:24:09 > 是啊,贪心只能算出近似的解,不能保证是最优的 > 比如数据 > 6 > A:BEF > B:AC > C:BD > D:CEF > E:ADF > F:ADE > 正确的应该是3 A(1)B(2)C(3)D(1)E(2)F(3) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator