Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:这题SPFA和Dijk都能过,关键在于邻接表是怎么写的!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator