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 frogxx at 2007-05-16 15:40:48
In Reply To:征集算法。。 Posted by:sunny_fable at 2007-05-16 14:57:03
第一个问先求割顶集S,然后对每个S的节点作root DFS枚举。好像很慢,O(n^2+n*m),期待好方法。

第二个问可以用DP,就是树状DP的同时做一个0/1背包,同样期待好方法。。

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