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

Общий форум

1009 *K based numbers. again *PLEASE READ VERY IMPORTANT QUESTION
Послано Smasher_nine 18 окт 2000 23:56
Ok so when I asked about this the previous time some people
answered with some formulas.I don't want formulas I can
write them on my own.I want to know if the test sample is
right.The test samples is the count of all numbers not
containing 2 succesful zeroes having 10 digits in binary
base system.So i count the numbers in the range [512, 1023]
and i get 89. The sample says 90.This is wrong I can give
you the list of all 89 binary nums between [512, 1023] that
don't have 2 or more succesful zeroes.And there aren't any
more.So please tell me what's wrong with 1009 or list all
90 of them.
Re: 1009 *K based numbers. again *PLEASE READ VERY IMPORTANT QUESTION
Послано Petko Minkov 19 окт 2000 01:08
> Ok so when I asked about this the previous time some
people
> answered with some formulas.I don't want formulas I can
> write them on my own.I want to know if the test sample is
> right.The test samples is the count of all numbers not
> containing 2 succesful zeroes having 10 digits in binary
> base system.So i count the numbers in the range [512,
1023]
> and i get 89. The sample says 90.This is wrong I can give
> you the list of all 89 binary nums between [512, 1023]
that
> don't have 2 or more succesful zeroes.And there aren't
any
> more.So please tell me what's wrong with 1009 or list all
> 90 of them.

 read more carefully what N and K are. i think they
mean base 10 numbers containing two digits.

10, 11, 12 .. 99. not binary numbers.

i think you swap the meaning of N and K...