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

Обсуждение задачи 1357. Чайник для чайников

Показать все сообщения Спрятать все сообщения

The problem says that they wake up in the same day (but in different time). But what if some dummies will have to wait until the midnight passes? I can output the time then, but it will lead to misunderstanding. Is it guaranteed, that they all shall be able to drink in the same day?
No! You should check this situation, too! Some of them maybe will be able to drink tea after midnight! ) good luck!)
Another question arose in my mind...(+) SPIRiT 29 авг 2006 14:40
What shall I use for these formulas. Is float or double precision enough for that, or perhaps I should use fractional arifmetics (represent fractions nominator and denominator)?
I got AC with double precision!)