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 |
正是最小割In Reply To:没用最小费用流,随便建了个图然后求了个最小割就过了.. Posted by:tracyhenry at 2009-02-07 12:27:01 首先,此题要求选取点集,覆盖所有的行列边; 其次,要求点集的和最小。按该法建图后求最大流最小割,行列边的容量无穷,必不属于割边。这样只要取s集中的列结点与t集中的行结点,权值的和即最小割,同时保证覆盖了所有的行列边。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator