ENG  RUS Timus Online Judge
Online Judge
Problems
Authors
Online contests
Site news
Webboard
Problem set
Submit solution
Judge status
Guide
Register
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

## Discussion of Problem 1009. K-based Numbers

what's output for N=5,K=10??
Posted by Suphanat Chunhapanya 2 Apr 2008 16:13
and also
N=6,K=10
N=7,K=10
N=6,K=2
Re: what's output for N=5,K=10??
Posted by xwj1234 10 Oct 2008 19:07
my program has been accepted
Re: what's output for N=5,K=10??
Posted by Hrayr 8 May 2011 17:37
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
Re: what's output for N=5,K=10??
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
Re: what's output for N=5,K=10??
Posted by Michael 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