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 1357. Teakettle 1.0 for Dummies

I do not understand...
Posted by Loky_Yuri [USTU] 11 Jan 2007 15:25
I don't understood one thing. So look at this test
2
00:00:00
00:00:00
In fact teakettle will be ready to 335.2 second. But if we round this answer, it will be 335, i.e. 00:05:35. And it seems that this correct answer. But to this time teakettle will not be ready!

And this test
3
00:00:00
00:00:00
00:05:35
And what should we think?
1) The teakettle is ready to 00:05:35, so in this time it will be EMPTY and the third student will BEGIN to boil water in this time 00:05:35?
So answer will be
00:05:35
00:05:35
00:08:23
2) Or we should think that in this situation teakettle will be ready EXACTLY in 335.2 second and the teakettle will be not empty and the third student just ADD water in 00:05:35?
So answer will be
00:08:23
00:08:23
00:08:23



Re: I do not understand...
Posted by AlexF [USTU] 11 Jan 2007 15:30
My AC program says that you should think in the first way!))
The answer is
00:05:35
00:05:35
00:08:23
Good Luck!))
Re: I do not understand...
Posted by pperm 14 Jun 2007 13:32
My AC program print
00:08:23
00:08:23
00:08:23

in time 00:05:35 temperature less than 100
Re: I do not understand...
Posted by AlexF [USTU] 14 Jun 2007 15:33
Maybe both variants are right
Re: I do not understand...
Posted by Sandro (USU) 15 Jun 2007 00:45
No. Only the second answer is right. Thank you for good test :)
Re: I do not understand...
Posted by AlexF [USTU] 15 Jun 2007 14:31
Thanks) AC)
Re: I do not understand...
Posted by Alex Tolstov (Vologda STU) 28 Apr 2009 00:44
Your tests are not correct.