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

Explain me sample test, pls
Posted by PrankMaN 5 Aug 2013 16:37
Why answer for A1A is 22? Shouldn't it be 11?
Re: Explain me sample test, pls
Posted by ubergeek 20 Sep 2013 16:26
If u assume A1A is in base 11, the decimal equivalent is 1231. Clearly its not divisible by (11-1). Hope it explains. Try it as base 22 and you will see the resultant number is divisible by 21.
Re: Explain me sample test, pls
Posted by Brooklyn 21 Sep 2013 16:12


Edited by author 21.09.2013 16:23