ENG
RUS
Timus 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
WHAT IF n > k ????
Posted by
Me
17 Sep 2014 01:52
For example, I have n = 3 and k = 2, which means 0 and 1
Then there is 3 possible ways to made a number: 101, 111, 110
How to calculate this moment, when n is more than k?????
© 2000–2024
Timus Online Judge Team
. All rights reserved.