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 1558. Periodical Numbers

Clarification
Posted by RockWell team 22 Sep 2007 13:56
Can be such answer 1(065)064?
and what answer for
(123)
(911)
?
Re: Clarification
Posted by victor_sch 22 Sep 2007 14:10
(035)
Re: Clarification
Posted by RockWell team 22 Sep 2007 14:19
But why not (035)034?

Edited by author 22.09.2007 14:22
Re: Clarification
Posted by HybridTheory 22 Sep 2007 14:23
I think it should be (503)4, but i'm not sure, i want to know the answer too
Re: Clarification
Posted by victor_sch 22 Sep 2007 14:45
 (123)
 +
 (911)
 1034
but on 1034
++++++++++1034
+++++++++++++1034 >
++++++++03503503
++++++++++(035)
Is it right ?

Edited by author 22.09.2007 14:47
Re: Clarification
Posted by RockWell team 22 Sep 2007 15:16
(123)
+
(911)

++++035035035035034

Answer (503)4
Re: Clarification
Posted by AlMag 22 Sep 2007 15:41
I have 1(035)034.
may I misunderstood the task.
1 034
1 035 034
1 035 035 034
1 035 035 035 034

so, why not that?
1(035)034 or (035)034 or (350)34?

Edited by author 22.09.2007 15:44
Re: Clarification
Posted by Megas 22 Sep 2007 16:10
The output must have one line containing desired number itself. It must be printed in the representation with minimal period length. Among such representations the one having the least unperiodical part's length must be chosen.
Re: Clarification
Posted by Samsonov Ivan (Rybinsk SAAT) 23 Sep 2007 19:03
my AC program give answer (503)4.
Re: Clarification
Posted by Denis Koshman 15 Jul 2008 03:55
How do you get that 1034 or 1035? This 1 is CARRY, but it does not go to result, it's only used during its evaluation.