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

What is K??
Posted by ayeritsian 3 Aug 2011 13:40
Please explane what is K.
What it means K=10?
Re: What is K??
Posted by ayeritsian 3 Aug 2011 13:46
Ok now I get it.
Re: What is K??
Posted by Fen9I 12 Jul 2013 15:24
Why then did not explain to others?
Re: What is K??
Posted by gwire 3 Aug 2013 13:35
Bin: K = 2, [0,1]
Oct: K = 8, [0,1,2,3,4,5,6,7] (или [0..7])
Dec: K = 10, [0,1,2,3,4,5,6,7,8,9] (или [0..9])
Hex: K = 16, [0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F] (или [0..F])

То есть список цифр из которых может состоять К-ичное число = [0..K-1].
PS: В задаче K не > 10. Значит буквы не участвуют.