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

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

Anyone Please Tell Me what is Test #8
Послано K P Charith Chowdary 3 окт 2007 18:32
I've tried 0 it gives 10
I've tried 1 it gives 1
I've tried nos <10 and >1 gives the same
I've tried characters and strings gives -1
I've tried 1000 000 000 it gives 555 555 555 888
I've tried 12 It gives 26 Not 34
I've used the method of coming back from 9 To 1 dividing the number..
Please tell what is Test #8
Re: Anyone Please Tell Me what is Test #8
Послано maksay 29 ноя 2007 21:42
Thanks for 12 test It really helped me If you still don't know how to solve - 426287475
Re: Anyone Please Tell Me what is Test #8
Послано K P Charith Chowdary 3 дек 2007 17:23
Hey Got the Mistake...

I declared the array small.... That is the array that is used to store the digits...
Re: Anyone Please Tell Me what is Test #8
Послано Kholdi 13 дек 2007 19:40
I think I know whats the problem. My program had error on T#8 too. and it couldn't work for 100000000.
Re: Anyone Please Tell Me what is Test #8
Послано Alias (Alexander Prudaev) 14 дек 2007 20:04
try 910 = 13 * 7 * 5 * 2
answer is -1
try 26