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:Bellman Ford 判断负环AC (附代码)

Posted by liaopifan at 2017-08-25 20:55:34 on Problem 3259
In Reply To:Bellman Ford 判断负环AC (附代码) Posted by:MadCreeper at 2017-05-18 22:11:06
有一个问题,这个题目似乎没有保证一个图中所有的节点都是联通的;
如果该图有多个联通分量,且负环不在节点1所在的联通分量中,您这种方法似乎就行不通了啊。
不过AC了,是不是题目数据太水

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