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 |
虽然是有向图,但用vector建邻接表时需要加入反向边,因为可能会有反转的情况。附一组测试数据。 7 6 1 2 10000 2 3 10000 3 6 10000 1 4 8000 4 3 8000 2 5 6000 5 6 6000 16000 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator