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:这样做是错的,在其他oj上是wrong anwer的进

Posted by xiaoyu2012 at 2013-08-03 23:01:46 on Problem 3278
In Reply To:这样做是错的,在其他oj上是wrong anwer的进 Posted by:shuyezi at 2012-07-17 10:38:30
> 这样做没有考虑在队列里虽然一个点先到达,但可能通过其它方式路径更短……

>通过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