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 |
我把两两线段的交点都求出来了,成为一张图,然后按照规则在图中走了一遍。官方数据跑了我2秒钟。主要慢在建图那一步,要花O(常数 * N^2)的时间。In Reply To:我硬走超时了。有什么特殊的算法或方法吗? Posted by:ImLazy at 2006-12-10 00:25:33 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator