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不是万能的 这题spfa就做不了

Posted by npbool at 2016-03-07 20:45:48 on Problem 3463
In Reply To:崩溃了。。看来spfa不是万能的 这题spfa就做不了 Posted by:zegel at 2010-08-14 22:12:45
> 看来spfa不是万能的 这题spfa就做不了

随便什么最短路都可以做,只要能算出到终点最短路径的长度,倒推DP就行了,不一定要在算最短路的时候一起。

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