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:我就直接构造一个图,再遍历!XXMS,还算可以!

Posted by wrong123 at 2005-12-30 11:17:52 on Problem 2138
In Reply To:我就直接构造一个图,再遍历!XXMS,还算可以! Posted by:davydc at 2005-12-26 22:32:08
嗯, 构造图之后,再DFS遍历,获得最大长度,还挺快的!

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