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 1030. Titanic

Help, i need sombody's help
Posted by Sid 23 Mar 2005 23:14
1) In the sample test my answer is 52.046... so why the correct answer is 52.04 it must be 52.05?
2) I get WA#6... does anybody had it? I don't know what's the problem...
This is my source...


Edited by author 25.03.2005 15:03
Re: Help, i need sombody's help
Posted by Cybernetics Team 23 Mar 2005 23:57
your program isn't accurate enough: it calculates 52.046 while mine 52.04423 so correct is 52.04. At test 6 again, yours computes 91.914 (writing 91.91) and mine 91.91681 (writing 91.92) so WA...
(By the way, I used C, if it matters)

Edited by author 24.03.2005 00:00

Edited by author 24.03.2005 00:00
Re: Help, i need sombody's help
Posted by Sid 24 Mar 2005 10:31
I've rewrite program on С++. But now I have WA#3. =(
Ofcourse I know C++ not so good and probably made a mistake somewhere...

Edited by author 25.03.2005 15:03
Re: Help, i need sombody's help
Posted by Sid 25 Mar 2005 15:02
I got Accepted.