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 1229. Strong Brickwork

Georgiy Savchenko When soultion does not exist? [2] // Problem 1229. Strong Brickwork 18 Aug 2007 12:15
Could someone publish such testcase with the answer = -1?
Denis Koshman Re: When soultion does not exist? // Problem 1229. Strong Brickwork 25 Jul 2008 18:10


Edited by author 25.07.2008 18:11
If m and n are even, there is always a solution.