Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

Contest Clarifications

Problem 1007 : The precision is a big problem
The precision is a big problem
rounding the result with 3 decimal points seems impossible
try this case:
1000000 10 1
1 1000000

we get very very large differences...
TJU-Wizard at 2007-09-02 20:03:22

RE:The precision is a big problem
I get 2236090.096,is it right?
超内存 at 2007-09-02 20:13:54

RE:The precision is a big problem
maybe we get the same trouble...
chquva at 2007-09-02 20:21:27

RE:The precision is a big problem
in calculater it's 2236069.0955357350048060552003268
最近上不了HDU,怎么搞的 at 2007-09-02 20:21:42

RE:The precision is a big problem
i am not sure if the results is ok (i cannot run my solution now), but it is definitely of that order of magnitude. Precision would have been a problem if the numbers were larher than what they are (heights > 1000000 or if the distances between the buildings and the first or 2nd goriila could have been less than 1). In fact, the limits for the numbers were chosen in such a way that precision would not be a big problem if you have the correct solution.
mugurelionut at 2007-09-02 20:22:00

RE:The precision is a big problem
sorry i get 2236069.096
超内存 at 2007-09-02 20:22:31

RE:The precision is a big problem
Thank admin, finally I get a beautiful red Accepted~~
TJU-Wizard at 2007-09-02 20:31:01

RE:The precision is a big problem
the same ,thank you
chquva at 2007-09-02 20:36:35


Pages: 1
 

Post a new reply

Title: