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

这题SPFA和Dijk都能过,关键在于邻接表是怎么写的!

Posted by lrcrichard at 2010-03-06 17:18:03 on Problem 3013
若邻接表是用stl的list或vector,TLE没商量。
手写了一个邻接表,貌似SPFA比Dijk快些。

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