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

不会是溢出吧?但是那个……找hawk要你的输出吧

Posted by frkstyc at 2005-07-24 01:52:15 on Problem 1925
In Reply To:看看这两个语句,一个AC,一个WA Posted by:sunmoonstar_love at 2005-07-24 01:47:32
> p=x[i]-(int)(sqrt(double(y[i]*y[i]-(y[i]-y[0])*(y[i]-y[0])))+1e-12); 
> 这个WA
> 
> p=x[i]-(int)(sqrt((double)y[i]*y[i]-(double)(y[i]-y[0])*(y[i]-y[0]))+1e-12);
> 
> 这个AC
> 
> 
> 实在看不出二者有什么区别

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