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

(0)+(0)=(0) or 0?
Posted by A. Babenko, A. Mansurov Kyr-Rus Slav U 22 Sep 2007 16:22
(0)+(0)=(0) or 0?
Re: (0)+(0)=(0) or 0?
Posted by Vedernikoff Sergey 22 Sep 2007 18:41
There is always period, so the answer is (0)

Edited by author 22.09.2007 19:17
Re: (0)+(0)=(0) or 0?
Posted by Denis Koshman 15 Jul 2008 03:58
And that happens to be test 34. I had CRASH there as I've put a trap on such case before submission. Lucky me :)

Eventually, removing that trap gave me AC. So just treat 0 like any other digit, do not care about leading zeroes.