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

DFS是不对的,因为DFS的话找到的一条路径每个点只能走一次,而可能找到最短路径的末个点会走多次,比如这组数据

Posted by xiaolonghingis at 2006-08-11 14:22:22 on Problem 2946
In Reply To:恩 我明白你的意思 我就是觉得不应该是WA..... Posted by:sasnzy at 2006-08-11 09:41:52
5 5 3
.2..E
...2.
4....
...24
22222
0 0 0
答案是14。

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