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 1497. Cutting a Square

WA №16
Posted by Delpher 27 Apr 2011 14:41
Help!
What is wrong?


[code deleted]

Edited by moderator 05.11.2023 02:38
Re: WA №16
Posted by Egor 4 Mar 2013 15:22
maybe this test can halp you?
5
00000
01111
01111
01110
00000
Re: WA №16
Posted by Jane Soboleva (SumNU) 1 Oct 2015 15:36
I also had WA 16, turns out this was the reason:
5
11100
10000
00011
11000
00000
In this test, i assumed that you can move away parts with 1's, thus separating 0's from everything. But it turns out to be wrong, you're only allowed to move zeros, and ones stay fixed in place.
Re: WA №16
Posted by bashNewbie 20 Oct 2023 17:05
This is not a valid test