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 1289. One Way Ticket

How to slove it??
Posted by tbtbtb 30 Apr 2004 16:50
Re: How to slove it??
Posted by Tratata (barssimfi@mail.ru) 27 Jul 2004 21:50
It is very simple problem. Just generate first 5-10 answers. Than U will see how to solve it :-)


Edited by author 27.07.2004 21:51
Re: How to slove it??
Posted by Peter Ivanov 27 Aug 2006 04:12
I don't consider this explanation for a reasonable one. If it is so easy - you are to prove it! Otherwise solving it in your way won't help to better understanding the theory behind this concrete problem.
Re: How to slove it??
Posted by TIA (Lyceum #165) 7 Feb 2008 23:17
This problem is easy. Just count number of numbers with the same digit root of its half where digit root is equal to 0,1,2,3,4,5,6,7,8,9.
Number where digit root is equal to 0 is 0.
Use /dev/brain to count the other numbers
P.S. digit root(n)=digit root(n+9)