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 2070. Interesting Numbers

Hint
Posted by Jane Soboleva (SumNU) 22 Oct 2015 02:04
Numbers liked by Asya only: https://oeis.org/A036454
Re: Hint
Posted by Mikhail Krivenko 22 Oct 2015 02:23
I implemented that but I have WA 5. What's in this test?
Re: Hint
Posted by Jane Soboleva (SumNU) 22 Oct 2015 14:51
I don't know, maybe double check if your numbers are exactly in range of [a, b]? And if they're long, not int?
Re: Hint
Posted by Combatcook 19 Mar 2016 18:59
I implemented it too, but still have WA 27... Please, help me found a bug...
What's wrong here:

--

Thanks in advance.


Edited by author 19.03.2016 19:43

Edited by author 20.03.2016 15:53
Re: Hint
Posted by Jane Soboleva (SumNU) 20 Mar 2016 01:33
For max test, your answer ends in 3. But it's actually 8.
Re: Hint
Posted by Combatcook 20 Mar 2016 14:27
Can you give the right answer on that test?
Re: Hint
Posted by Jane Soboleva (SumNU) 20 Mar 2016 15:15
Uh, i just did? I guess i didn't make it clear enough.
Anyways, there you go.
2 1000000000000
999999921288
UPD: it's fine, and congrats~

Edited by author 20.03.2016 16:06
Re: Hint
Posted by Combatcook 20 Mar 2016 15:53
Sorry for bother, I just wanted to clarify. :)
Now I corrected a mistake and got AC.