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

第一道最短路径~留念

Posted by qq512572354 at 2010-07-27 07:14:44 on Problem 1062
这道题第一次写的时候用的递归,有点类似DFS但是MLE了
后来用Dijkstra重写,wa了两天才过。
原因是我只查找了一次,在求最短路径时使用了在更新时检测等级并保存最大等级和最小等级
但是并不一定所有的被更新的结点都会通过,又找不到能检测出错误的数据,好郁闷啊
现在终于A了  开心~~  留念^O^

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