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

Re:注意夹角为π的情况

Posted by viral at 2008-06-29 10:45:01 on Problem 1031
In Reply To:注意夹角为π的情况 Posted by:heben99 at 2007-08-18 12:30:39
> 夹角为π时应该返回0

如果你指的是整个多边形对原点的张角为π,那结果不应该是 π * k * h 么?
如果指的是某一条边对原点张角为π,那就表示这条边经过原点,这应该是不符合题目描述的吧。我试了一下,觉得测试数据中应该没有这样的情况。

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