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

hardly

Posted by frkstyc at 2005-07-28 21:09:42 on Problem 2510
In Reply To:里面这个式子会不会造成精度不够? Posted by:queyue2004 at 2005-07-28 21:09:11
>    
>       long time;
>       double temp->n;
>      
>       h = 8.0 * (temp->n) - (1.0 * time - temp->time) / 12.0;
> 
>      h = temp->n * 2.0 - (1.0 * time - temp->time) * (1.0 * time - temp->time) / 79.0;
> 
>      if (h > 0)
>      {
>            sum += h;
>      } 
>      else
>      {
>           delete node;
>      }

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