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

我是O(N)做的,一次DFS就可以了

Posted by xiaomi at 2004-05-22 18:18:47 on Problem 1655
In Reply To:这个题目最好有O多少的算法? Posted by:richardhuang at 2004-05-22 10:06:15
> 我只想到O(N^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