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 Moon_1st at 2011-08-15 11:21:36 on Problem 3072
向量(x1,y1)与向量(x2,y2)的夹角为atan2(y2,x2)-atan2(y1,x1),注意在这个题中需要取角度小于pi的那个。。。

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