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

Обсуждение задачи 1009. K-ичные числа

Who can tell me what means is "K-based"?And please give me an example.Thanks
Послано qwt 12 янв 2002 07:51
I can :) (+)
Послано Miguel Angel 12 янв 2002 08:36
K-based. A number in Base k, a number is in Base K if all his digits
are from 0 to K-1 (10-Based numbers are numbers used by people). The
value is obtained as this:
an*k**n + ... a0*k**0, where an through a0 are the digits from left
to right order and k** is the power operation.
Though is basic for you to know this concepts :)
Re: I can :) (+)
Послано Victor 22 янв 2002 08:08
> K-based. A number in Base k, a number is in Base K if all his
digits
> are from 0 to K-1 (10-Based numbers are numbers used by people).
The
> value is obtained as this:
> an*k**n + ... a0*k**0, where an through a0 are the digits from left
> to right order and k** is the power operation.
> Though is basic for you to know this concepts :)
Hello Miguel Angel. Help me please. I think that for n=5 with every
base there are 8 invalid numbers, aren't they. and for n=12 invalid
numbers=1815
Re: Check this (+)
Послано Miguel Angel 22 янв 2002 10:38
Unfortunately isn't right. A hint:
Let n the amount of digits, and k the base
for 1 digit you have from 1 to k valid numbers.
for 2 digits you have from 1 to k and from 0 to k, so (k-1)k.
You may do first "Binary Lexicographic Sequence" problem to have a
notion of this :)