Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

和你说的基本一样,就是代码写的烂,不好意思贴出来

Posted by sunmoonstar_love at 2005-07-22 22:41:31 on Problem 1106
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator