| ||||||||||
| 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 | |||||||||
hardlyIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator