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

可以使用bfs,也可以使用双向bfs

Posted by fangkyo at 2013-03-18 12:02:41 on Problem 3126
这个题目简单的用BFS就可以出来,也可以作为双向BFS的简单练习,注意双向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