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 |
没用最小费用流,随便建了个图然后求了个最小割就过了..源点到每行有一条权值为ri的边,每列到汇点有一条权值为ci的边。如果一行和一列有伞兵降落,那么行--->列有一条正无穷的边,然后求最小割就ac了..完全靠直觉..ft~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator