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 1221. Malevich Strikes Back!

WA#1
Posted by hoan 21 Dec 2010 19:34
here is test:
input:
7
1 1 1 0 1 1 1
1 0 0 0 0 0 1
1 0 0 0 0 0 1
0 0 0 0 0 0 0
1 0 0 0 0 0 1
1 0 0 0 0 0 1
1 1 1 0 1 1 1
0

output:
No solution

first my program write 3 for this.
hope can help you!!!