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 1205. By the Underground or by Foot?

question
Posted by sssa88 16 Mar 2002 21:09
what's the precision for the output?
in the text it is written to be 10^-6 but in the sample output it is
10^-7
and
what happens if you don't use the underground,do you write 0 for the
number of stations or you don't write anything at all(just the time)

thanks for the answer everybody
Re: question
Posted by Viorel Canja 16 Mar 2002 21:33
My program writes 7 digits after the decimal point and gets AC.

>>what happens if you don't use the underground,do you write 0 for
the
>>number of stations or you don't write anything at all(just the
time)

Yes
alright but what about the underground?what do you do in this case?
Posted by sssa88 16 Mar 2002 21:42
> My program writes 7 digits after the decimal point and gets AC.
>
> >>what happens if you don't use the underground,do you write 0 for
> the
> >>number of stations or you don't write anything at all(just the
> time)
>
> Yes
Re: alright but what about the underground?what do you do in this case?
Posted by Viorel Canja 16 Mar 2002 21:46
I don't quite understand ...
If you don't use the underground the number of stations is 0 and you
just write the time and 0.
The time will be distance(start,end)/speed_by_foot

What isn't clear about this case ?