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 |
程序……In Reply To:可是我实在不知道除了sin哪里还有影响精度的问题,按说四则运算都没问题吧。。 Posted by:ACM06Louty at 2007-10-16 19:32:07 double angle = ( double )( pos[e] - pos[b] ) * pi * 2.0 / ( double )n; return ( double ) d * ( double ) d / 4.0 * sin ( angle ) / 2.0; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator