Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
怪力乱神怪力乱神 要注意如果用bellman-ford.如果dist[u]==INF就不要更新他的相邻结点了。 因为有可能有一个点有负自环,但这个点其实与entrance是不连通的。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator