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

Wrong answer 14 (hint)[condition:wa14 serveral times]
Posted by kaa..........ai 29 Dec 2014 23:32
Try these data:
7
0000000
0000000
0011111
0011111
0011111
0011111
0000111

5
00111
01111
01111
00000
00000

5
11000
10000
10000
10000
11000

5
00011
00001
00001
00011
00111

output:
Yes

Good luck!