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 |
Re:样例中那个210怎样算出来的?In Reply To:样例中那个210怎样算出来的? Posted by:gz2001 at 2003-10-31 20:47:30 先是源点到各个点的最短路径,用邻接表+SPFA求一次,然后再是各个点到源点的最短路径,用逆邻接表+SPFA一次,将两次求的和加起来就行了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator