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 1863. Peaceful Atom

WA3 and incorrect statement
Posted by Wasdek 22 Jan 2014 20:38
My program get WA3, but work right on my tests. I can't find a mistake. Please, give me some tests.
Also, why 0<=s<=n and n>0 ? Is it incorrect statement?
Re: WA3 and incorrect statement
Posted by ER 19 Jun 2014 12:38
For WA3, check how you initialize the global min and max depth.

n > 0 is fine. n cannot be zero, but s can be.