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 1261. Tips

What is the Output for n=4?
Posted by Alexey 26 Apr 2006 18:32
Tell me, please, what is the Output for
1) N=4
2) N=10
3) N=3^m (For example, N=27)

Please, help...
Thanks a lot.
Re: What is the Output for n=4?
Posted by Cybernetics Team 27 Apr 2006 21:53
Here are my answers but they are not unique I think

4
13 9

10
37 27

9
36 27

27
108 81

81
324 243
Thanks a lot!
Posted by Alexey 28 Apr 2006 20:14
Thanks A Lot!
I've got AC!!!
Re: What is the Output for n=4?
Posted by svr 30 Jun 2007 13:46
What formalization?
N=a-b;
b>0;
a and b have no digit 2 in 3-system?

Edited by author 30.06.2007 13:50

Edited by author 30.06.2007 13:51
Re: What is the Output for n=4?
Posted by Denis Koshman 1 Aug 2008 00:49
Yes.
Re: What is the Output for n=4?
Posted by vetas 1 Apr 2009 13:47
Why
10
37 27?

a   = 10(10)=101(3)
b   = 3(10) =010(3)
a+b = 13(10)=111(3)
IMHO, right ansver is
10
13 3