ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1009. K-based Numbers

Suphanat Chunhapanya what's output for N=5,K=10?? [4] // Problem 1009. K-based Numbers 2 Apr 2008 16:13
and also
N=6,K=10
N=7,K=10
N=6,K=2
xwj1234 Re: what's output for N=5,K=10?? [3] // Problem 1009. K-based Numbers 10 Oct 2008 19:07
N=5,K=10 the answer is 87480
N=6,K=10 the answer is 866781
N=7,K=10 the answer is 8588349
N=6,K=2  the answer is 13
my program has been accepted
I have solved this problem,but I got WA on test #2.When n=6,k=10 I get answer 866781 and others tests I get right answer.What is the test #2???????????????
xwj1234 wrote 10 October 2008 19:07
N=5,K=10 the answer is 87480
Ahmet Faruk Ozkan OTTOMAN(Devlet - i Âliye)) Re: what's output for N=5,K=10?? [1] // Problem 1009. K-based Numbers 11 Oct 2012 12:16
350975
350974
350973
350971
350970
350967
350966
350965
350959
350958
350957
350955
350954
350943
350942
350941
350939
350938

for n = 6 , k = 2 this values are true
more than 13
Michael Re: what's output for N=5,K=10?? // Problem 1009. K-based Numbers 19 Aug 2020 13:21
You are not right because k = 2 => all numerals < 2. Ok?
And now I show you this 13 numbers:
111111
111110
111101
111011
110111
101111
111010
110110
110101
101110
101101
101011
101010
sorry for my English

Edited by author 19.08.2020 13:21

Edited by author 19.08.2020 13:21