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 |
Re:奇怪用acos( -1.0 )可以过,为什么用acos( -1 ) 就是编译错误呢?In Reply To:奇怪用acos( -1.0 )可以过,为什么用acos( -1 ) 就是编译错误呢? Posted by:meimeisky at 2008-07-20 16:14:50 因为acos()要求双精度数,-1是整型。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator