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:spfa也能过47ms

Posted by Siat at 2013-02-19 20:28:12 on Problem 3463
In Reply To:spfa也能过47ms Posted by:2545867441 at 2012-07-30 22:40:08
> 用优先队列构造最小堆 然后就是赤裸裸的。。spfa
为什么我的SPFA是63ms。。但是我用dijkstra重新打了一遍,发现要94ms,看来spfa真的是一个不错的算法。

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