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

大牛们,问个让我郁闷很有的问题

Posted by ccnuzhang at 2008-08-29 17:45:32 on Problem 1925
我开始
  dis=(int)(sqrt((2*piont[i].y*h-h*h)*1.0));
死都不能过,后来改成如下:
  dis=(int)(sqrt((2*piont[i].y-h)*1.0)*sqrt(h*1.0));
就过了,我发誓,我别的地方没改。
   难道这个区别就这么大???

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