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

When soultion does not exist?
Posted by Georgiy Savchenko 18 Aug 2007 12:15
Could someone publish such testcase with the answer = -1?
Re: When soultion does not exist?
Posted by Denis Koshman 25 Jul 2008 18:10


Edited by author 25.07.2008 18:11
Re: When soultion does not exist?
Posted by ASK 17 Mar 2014 15:02
If m and n are even, there is always a solution.