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:Re:先按半径把不符合要求的点kick掉,然后算出每个点到圆心的向量角,枚举每个点所在的直径,统计一下次数,然后取最大值, 有什么陷阱么? Posted by:tengshengbo at 2005-07-22 22:34:56 > 1:你如何计算角的?atan?注意pi/2,各个象限等 > 2:计算出角以后,按角排序,你做了吗? > 3:每个角往后数180度时,注意浮点误差。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator