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:奇怪用acos( -1.0 )可以过,为什么用acos( -1 ) 就是编译错误呢?

Posted by 19891212 at 2008-07-20 17:00:58 on Problem 3122
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:
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