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 |
第一题网络流 EK+BFS过之,有若干注意点参考了http://kymowind.blog.163.com/blog/static/18422229720116289530274/ 形成了模板,以后就好做了 注意点: 1.several cases 2.重边 3.图其实是有向的,所以读是时候直接+=到你的map里就行 4.注意残余网络,正向扣流量后要反向加流量 1 2 2 1 1 这个跑出来应该是0而不是1 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator