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 1131. Copying

if WA3
Posted by Programmer956 3 Apr 2020 21:49
if k > n my program worked with n < 0
you should to consider the case after cycle: if n < 0 then n = 0

Edited by author 03.04.2020 21:51
Re: if WA3
Posted by Lifeisbeautiful 13 Jan 2021 09:49
Thank you!