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 |
一个简单的判断向量夹角的方法~向量(x1,y1)与向量(x2,y2)的夹角为atan2(y2,x2)-atan2(y1,x1),注意在这个题中需要取角度小于pi的那个。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator