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:不能AC的看过来In Reply To:不能AC的看过来 Posted by:Lemon_TsyD at 2010-05-11 15:14:45 > 因为此题是无向图,所以建边的时候如果建两条费用都是正的边的话,退流时无法修正费用。 > 所以应该建4条边: > 第一对: > a->b cost 1 > b->a -cost 0 > 第二对: > b->a cost 1 > a->b -cost 0 不是说一条路只能走一次吗~? 那这两对不是当作同一条路? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator