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

Тест
Posted by andy 15 Oct 2011 17:23
сколько у кого на тесте
6
60 30 20 10 0 0 ??
Re: Тест
Posted by Aleksandr Kim 15 Oct 2011 17:25
54 27 18 0 0 0
Re: Тест
Posted by Vitaliy Karelin 15 Oct 2011 17:25
73 21 4 0 0 0
But i have WA#9
Re: Тест
Posted by andy 15 Oct 2011 17:27
73 22 5 0 0 0
wtf...
Re: Тест
Posted by Soporboy Botirov [TUIT Urgench] 15 Oct 2011 17:28
73 21 4 0 0 0 but i have wa#9
Re: Тест
Posted by Vitaliy Karelin 15 Oct 2011 17:29
Aleksandr Kim:
You got AC?


Edited by author 15.10.2011 17:30
Re: Тест
Posted by andy 15 Oct 2011 17:30
wrong answer 4
Re: Тест
Posted by morbidel 15 Oct 2011 17:41
Make sure you round the numbers down. I got wa 4 too.
Re: Тест
Posted by bsu.mmf.team 15 Oct 2011 21:49
My AC program gives 73 21 4 0 0 0
Re: Тест
Posted by daminus 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
Re: Тест
Posted by Hristo Nikolaev (B&W) 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.