|
|
back to boardCommon Board1009 *K based numbers. again *PLEASE READ VERY IMPORTANT QUESTION 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 > 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... |
|
|