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

Обсуждение задачи 1044. Счастливые билеты. Easy!

what about odd number of digits? Could someone explain Please
Послано Anupam Ghosh, Wipro Technologies 28 дек 2011 19:38
Hi,
   Is this number 63363 lucky number?
Is it necessary all lucky numbers have to be a palindrome?

Regards
Anupam
Re: what about odd number of digits? Could someone explain Please
Послано Noob 29 дек 2011 13:04
If number of digits is odd, answer is 0.
Re: what about odd number of digits? Could someone explain Please
Послано ramon93i7 1 июл 2012 16:05
I don't agree. There is no such rule. So you can solve the n-1 problem and then multiplicate it on 10.
Re: what about odd number of digits? Could someone explain Please
Послано Md. Shahedul Islam (Shahed) 8 июн 2015 22:15
According to the problem the input number isn't odd as it is divisible 2. source:
"Output
should contain a number of tickets such that the sum of the first half of digits is equal to the sum of the second half of digits."