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

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

2 as the number...
Послано Shen Minghan 28 янв 2002 20:18
What if the input is two?
I haf the formulae, but it doesnt werk on two.
anyone can tell me if there is a formulae that werks on two?
Or just tell me if it exists.
Re: 2 as the number...
Послано Junjie Liang 29 янв 2002 15:15
If you read the problem carefully, you will realise that the answer
for 2 is 10 (00,11,22..99). And I'm quite interested in your formula
(I didn't solve it using a formula...doesn't mean it's impossible)

> What if the input is two?
> I haf the formulae, but it doesnt werk on two.
> anyone can tell me if there is a formulae that werks on two?
> Or just tell me if it exists.
Re: 2 as the number...
Послано Shen Minghan 10 мар 2002 19:56
Does that mean you did it by hardcoding or did you do it by 'greed'
technique?

> If you read the problem carefully, you will realise that the
answer
> for 2 is 10 (00,11,22..99). And I'm quite interested in your
formula
> (I didn't solve it using a formula...doesn't mean it's impossible)
>
> > What if the input is two?
> > I haf the formulae, but it doesnt werk on two.
> > anyone can tell me if there is a formulae that werks on two?
> > Or just tell me if it exists.