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

Обсуждение задачи 1014. Произведение цифр

Incorrect statement?
Послано [OSTU]Svetkin 30 мар 2004 17:21
Correct answer for 1<= N <= 9 is N itself. But how is it possible to calculate product of digits for only ONE digit?
Re: Incorrect statement?
Послано Илья Гофман (Ilya Gofman) 30 мар 2004 20:09
c'mon don't be boring, why can't you think that you multiply the digit by nothing?:)) i don't think it's any problem to understand, is it?
Re: Incorrect statement?
Послано buggzy 30 мар 2004 22:58
But the statement is really incorrect ;)
Re: Incorrect statement?
Послано Vladimir Yakovlev (USU) 31 мар 2004 00:54
As we know from set theory, product is defined even for empty set (it equals to 1). The product of one-element set is equal to this element.
The problem statement is correct.
Re: Incorrect statement?
Послано [OSTU]Svetkin 2 апр 2004 01:35
well, never heard about it :) Maybe you're right. But this problem is kinda tricky, considering this thing and that '10' answer for n=0. (I know, it's 100% correct, but... it annoys)