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 oujunsong at 2021-10-08 18:04:46 on Problem 2253
如果说,您被之前的帖子的独特想法所误导,那么这个帖子将拯救你!

这道题是最短路问题,可以用dijstra,floyd,SPFA等方法完成!

请注意:floyd属于最短路算法!

请注意:这道题可以用dijstra完成!!而且完全正确!!!

请注意:这道题不可以用prim完成!!prim属于最小生成树而非最短路!!

请注意:这道题方法多样,可以认为是最短路算法的变种!!!

请注意:不一定必须用最短路算法完成,你可以用dfs!!!


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