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

求出圆心之后,将圆心移到原点,任取一点得到半径长和一个半径向量的角度,然后累加2*pi/n,可以得到每个顶点的角,有了半径和角就确定点的位置了,然后遍历一圈,找到矩形的上下左右,求面积了

Posted by sunmoonstar_love at 2005-07-20 23:49:34 on Problem 2504
In Reply To:然后呢?你如何得到每个顶点的位置? Posted by:uni at 2005-07-20 22:31:56


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