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 1513. Lemon Tale

WA 22
Posted by Combatcook 4 Dec 2016 14:13
Hello! I have strange WA 22 and really don't understand why. Can anyone help to find the bug in my code. (corrected)

Edited by author 04.12.2016 20:25
Re: WA 22
Posted by Jane Soboleva (SumNU) 4 Dec 2016 15:48
Your answer to 10000 10000 seems correct, except it misses the very first digit.
Re: WA 22
Posted by Combatcook 4 Dec 2016 20:24
Thanks! Stupid mistake, as always, just increased size of long number.