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:典型的DFS入门题,大家快来抢啊~~切起来会很有快感的。。。就是不知道能不能用BFS,好像不能,因为无法保存最短路径的每一个过程

Posted by yhcz2011 at 2012-05-31 12:48:49 on Problem 3984
In Reply To:Re:典型的DFS入门题,大家快来抢啊~~切起来会很有快感的。。。就是不知道能不能用BFS,好像不能,因为无法保存最短路径的每一个过程 Posted by:lzt163 at 2012-03-23 17:47:35
可以的,BFS+链表

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