ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1205. На метро или пешком?

question
Послано sssa88 16 мар 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
Послано Viorel Canja 16 мар 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?
Послано sssa88 16 мар 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?
Послано Viorel Canja 16 мар 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 ?