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 hawk at 2004-10-01 16:56:26 on Problem 1160
In Reply To:对不起问个无关的问题: 怎么判断一个图有没有回路啊!急 Posted by:002 at 2004-10-01 16:53:16
当然要注意访问过的边就不能再访问。

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