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

Обсуждение задачи 1261. Чаевые

Evil Cheater An AC problem that does NOT work. [3] // Задача 1261. Чаевые 18 апр 2004 10:01
{584156 09:52:24  18 Apr 2004 Evil Cheater 1261 Pascal Accepted  0.031 373Kb}
Begin
     writeln(output,'14348908 14348907');
End.

I think the judge must chech this things:
1.- pay > check.
2.- pay and tip must be only 1 and 0 in base 3.
3.- pay = check + tip.

Maybe the judge checks 1 and 2, but not 3.
黄源河 Re: An AC problem that does NOT work. [1] // Задача 1261. Чаевые 22 апр 2004 18:38
Evil Cheater писал(a) 18 апреля 2004 10:01
{584156 09:52:24  18 Apr 2004 Evil Cheater 1261 Pascal Accepted  0.031 373Kb}
Begin
     writeln(output,'14348908 14348907');
End.

I think the judge must chech this things:
1.- pay > check.
2.- pay and tip must be only 1 and 0 in base 3.
3.- pay = check + tip.

Maybe the judge checks 1 and 2, but not 3.

The method is wrong,but gamble!!!
Maigo Akisame (maigoakisame@yahoo.com.cn) Why must tip be all 1 and 0 in base 3? // Задача 1261. Чаевые 23 сен 2004 20:01
Vladimir Yakovlev (USU) Fixed. // Задача 1261. Чаевые 23 апр 2004 13:59