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

Please, give me some tests. I get WA on test 2.
Posted by victor_sch 22 Sep 2007 14:41
Re: Please, give me some tests. I get WA on test 2.
Posted by Astrakhan SU 22 Sep 2007 17:40
What is the 2nd test? Does anybody know?????
Re: Please, give me some tests. I get WA on test 2.
Posted by Gavin 22 Sep 2007 17:49
I also get WA on test 2
Re: Please, give me some tests. I get WA on test 2.
Posted by Samsonov Ivan (Rybinsk SAAT) 23 Sep 2007 19:04
(00)+(99)
(555)+(555)
(555)+(544)
Re: Please, give me some tests. I get WA on test 2.
Posted by RusRGB 15 Oct 2007 15:41
I've also got WA2.
But I was sure that

0.d = d/9
0.dd = dd/99
0.ddd = ddd/999 et al.

Isn't it the lot of things to know?
Re: Please, give me some tests. I get WA on test 2.
Posted by alexutz_mircescu 18 Oct 2007 19:28
With this tests work, you get AC ;)

(999999999)
(000000001)
-----------
(100000000)0

(999999999)
(999999999)
-----------
(9)8

And final hit:

(544444444)
(555555555)
-----------
(100000000)099999999