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

Общий форум

1014..W.A again
Послано Petko Minkov 6 окт 2000 02:25
Hiya,

can anyone tell me some tricky input data for problem
1014 (the one with the multiplication of digits),
because i get "Wrong Answer" which is not this
i suppose to see for my "try'em all" solution.

Petko Minkov
trick is that you should print -1 when failed
Послано tjq(killer of zju) 6 окт 2000 16:41
10 for 0
1 for 1
2 for 2
and finally and most important
-1 for 11
Re: trick is that you should print -1 when failed
Послано Petko Minkov 6 окт 2000 23:34
> 10 for 0
> 1 for 1
> 2 for 2
> and finally and most important
> -1 for 11

 Thank you very much. I got accepted! But for me, the
tricky one was 0. Why for 1..9 you print coresponding
1..9 and for 0 you print 10 ?? I can't figure it out.
Re: trick is that you should print -1 when failed
Послано longman cheng(@Killer team of ZJU) 7 окт 2000 10:10
> > 10 for 0
> > 1 for 1
> > 2 for 2
> > and finally and most important
> > -1 for 11
>
>  Thank you very much. I got accepted! But for me, the
> tricky one was 0. Why for 1..9 you print coresponding
> 1..9 and for 0 you print 10 ?? I can't figure it out.
>
"Your task is to find the minimal POSITIVE integer number
Q "
do you think that 0 is a positive number?