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 1104. Don’t Ask Woman about Her Age

Why k >= max digit in an initial number?
Posted by sleepwalker 13 Apr 2017 16:57
Why min base number of the sample is 11? In statement I can't find that k should be >= max digit in an initial number.

BTW if I convert any number to binary it will always be divisible by 1 and as far as I see  will satisfy every condition from the statement (the given number, written in k-based system is divisible by k−1, 2 ≤ k ≤ 36).

Thanks.

Edited by author 13.04.2017 17:00
Re: Why k >= max digit in an initial number?
Posted by ToadMonster 13 Apr 2017 18:35
What "A" digit means if base is less then 11?
Could you transform "A1A" to base 10 from base... 7 for example?
Re: Why k >= max digit in an initial number?
Posted by sleepwalker 13 Apr 2017 19:30
Thanks a lot, now I read the statement in a different way.