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

测试数据太弱了,建议加上这个例子……

Posted by panno at 2007-03-22 08:57:58 on Problem 1129
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:
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