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 1864. Get-Together at Den's

andy Тест [10] // Problem 1864. Get-Together at Den's 15 Oct 2011 17:23
сколько у кого на тесте
6
60 30 20 10 0 0 ??
Aleksandr Kim Re: Тест [3] // Problem 1864. Get-Together at Den's 15 Oct 2011 17:25
54 27 18 0 0 0
Vitaliy Karelin Re: Тест [2] // Problem 1864. Get-Together at Den's 15 Oct 2011 17:29
Aleksandr Kim:
You got AC?


Edited by author 15.10.2011 17:30
andy Re: Тест [1] // Problem 1864. Get-Together at Den's 15 Oct 2011 17:30
wrong answer 4
morbidel Re: Тест // Problem 1864. Get-Together at Den's 15 Oct 2011 17:41
Make sure you round the numbers down. I got wa 4 too.
Vitaliy Karelin Re: Тест [1] // Problem 1864. Get-Together at Den's 15 Oct 2011 17:25
73 21 4 0 0 0
But i have WA#9
andy Re: Тест // Problem 1864. Get-Together at Den's 15 Oct 2011 17:27
73 22 5 0 0 0
wtf...
saparboy.batirov@gmail.com Re: Тест // Problem 1864. Get-Together at Den's 15 Oct 2011 17:28
73 21 4 0 0 0 but i have wa#9
bsu.mmf.team Re: Тест // Problem 1864. Get-Together at Den's 15 Oct 2011 21:49
My AC program gives 73 21 4 0 0 0
[TDUweAI] daminus Re: Тест [1] // Problem 1864. Get-Together at Den's 4 Mar 2012 00:35
andy wrote 15 October 2011 17:23
сколько у кого на тесте
6
60 30 20 10 0 0 ??


My code give : 50 25 16 8 0 0
Hristo Nikolaev (B&W) Re: Тест // Problem 1864. Get-Together at Den's 5 Dec 2022 21:20
The right answer for
6
60 30 20 10 0 0
is
73 21 4 0 0 0

I can confirm it with a code that got AC.
If you get that result, and still get WA9 - add 0.00001 to the result before you cast it to int.