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 hpuan at 2015-08-13 21:26:22 on Problem 3984
In Reply To:Re:典型的DFS入门题,大家快来抢啊~~切起来会很有快感的。。。就是不知道能不能用BFS,好像不能,因为无法保存最短路径的每一个过程 Posted by:yc0576 at 2011-04-03 11:53:00
> 可以用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