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

Alexey What is the Output for n=4? [5] // Problem 1261. Tips 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.
Cybernetics Team Re: What is the Output for n=4? [4] // Problem 1261. Tips 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
Alexey Thanks a lot! // Problem 1261. Tips 28 Apr 2006 20:14
Thanks A Lot!
I've got AC!!!
svr Re: What is the Output for n=4? [1] // Problem 1261. Tips 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
Denis Koshman Re: What is the Output for n=4? // Problem 1261. Tips 1 Aug 2008 00:49
Yes.
vetas Re: What is the Output for n=4? // Problem 1261. Tips 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