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 |
由此想到了一个剪枝: 如果一个 match 对 square 的贡献集合, 包含于另一个 match 的贡献集合, 就不用考虑了In Reply To:提供一个不用搜索的方法,正确与否尚待诸位检验 Posted by:seol at 2006-05-16 12:54:52 > 将边与正方形都视为结点,看成二分图(还是叫二部图?偶不知道) > 然后在边所构成的结点集合中求最小割,转化为简单的图论问题. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator