ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1001. Reverse Root

Incorrect or incompete tests?
Posted by Ostapenko Denis 22 Jul 2008 01:59
999999999999700000
Pascal AC simple solution give 999999999.9999, but Maple returns 999999999.9998499999999999887... that must be rounded (and even truncated) to 999999999.9998
Re: Incorrect or incompete tests?
Posted by BlindButcher 10 Oct 2008 17:44
Study mathematics, 999999999.99984(9)9 this one make next digit to become from 4 to 5, and 5 is rounding up, thats why you get 9