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:这么简单的题居然没人ACIn Reply To:这么简单的题居然没人AC Posted by:checkoj at 2010-09-04 20:00:02 > sigh 确实 简单 ,直接 将线段朝两个方向平移一个无穷小量 再重新构图,所有的多边形就都完全不相交了,再直接dfs出最大环就行了。。O(m)搞定 推荐一道加强版: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=278&page=show_problem&problem=3732 需要配合扫描线算法 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator