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

The tests are not difficult enough!
Posted by Pavel Semushin 20 Mar 2007 20:26
On test
975461058253082170
 my program give answer
987654321.2344
And Standard Windows Calculator give answer
987654321,23445000902549242897908, e.g.
987654321.2345!
So, my AC program give wrong answer!
I used Double type and standart sqrt.
Re: The tests are not difficult enough! (+)
Posted by Orlangur [KievNU] 21 Mar 2007 00:47
Bullshit.

Where in problem statement said that you have to round answer? 987654321.2344 is correct answer because 2344 are first four exact digits after comma in decimal record of sqrt(975461058253082170).