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算法啊?bellman-ford算法不是求“单源最短路径”? 但是题目要求最后还要回到原点s嘛? 求出来最赚的一条路还要回到s有可能就亏光了,不是吗? 求指点。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator