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 luckyowen at 2009-02-18 13:57:31
In Reply To:用heap实现dijkstra的问题 Posted by:stoundmire at 2009-02-18 13:36:45
> 是不是对每一个点检查其相邻结点的时候,只要相邻结点的距离变得更小,就要对heap进行相应的调整?调整复杂度为lgV,最多有E条边,所以复杂度为ElgV的?
> 以前的时候一直没出问题,可是uva的ocean current得到了TLE,怀疑我的实现有问题

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