|
|
вернуться в форумWhere I'm wrong? Help, Please!!! 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!!! 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!!! 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!!! 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 |
|
|