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 1413. Mars Jumper

Where I'm wrong? Help, Please!!!
Posted by test_programs 1 Nov 2005 21:28
program Task;

{$APPTYPE CONSOLE}

{ Task #1413}

[CODE DELETED by test_programs (sensored)]

Edited by author 01.11.2005 21:30

Edited by author 03.11.2005 19:26
Re: Where I'm wrong? Help, Please!!!
Posted by Burunduk1 2 Nov 2005 08:40
Try such test:
one million of '1'

Right answer:
-707106.7811865476 -707106.7811865476
Your program's answer:
-707106.7810999976 -707106.7810999976
Re: Where I'm wrong? Help, Please!!!
Posted by test_programs 3 Nov 2005 19:14
I'm fixed this bug.
Thanks a lot :)) I've got AC!!!

Edited by author 03.11.2005 19:25
Re: Where I'm wrong? Help, Please!!!
Posted by KingPin 18 Nov 2005 20:11
The last digit of your right answer is wrong.
It should be 5 not 6.
10^6/sqrt(2) = 707106.781186547524400844362104849040
with precision up to 30 digits.

Edited by author 18.11.2005 20:12