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和Dijk都能过,关键在于邻接表是怎么写的!

Posted by SpellBreaker at 2010-07-04 14:22:54 on Problem 3013
In Reply To:这题SPFA和Dijk都能过,关键在于邻接表是怎么写的! Posted by:lrcrichard at 2010-03-06 17:18:03
就是就是,SPFA根本就比dijkstra快,
我优化一下读入SPFA能跑110ms

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