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 1529. Game of Squares

question
Posted by Rostislav 18 Feb 2007 16:47
What do you mean by:
"
 It is required that at least one of those small parts has edge lengths that are pairwise relatively prime with the corresponding edge lengths of the original parallelepiped. "
and is it allowed to make the following cut in the second example ?
 1 1 3
If we have such a cut (which I think is correct) then we will have two equal cubes(2 3 2) (i.e. this move is correct and the first player can win by it), or I am wrong?

 Rostislav
Thank's

Edited by author 18.02.2007 16:51

Edited by author 18.02.2007 17:24
Re: question
Posted by Rostislav 18 Feb 2007 17:40
 Please answer :) because I am can't get it.
Re: question
Posted by ICh(USU) 18 Feb 2007 20:40
My AC program outputs 1 1 3. Sample output is incorrect.
Re: question
Posted by Mehas (PSU #2) 20 Feb 2007 01:04
Yes, the rigth answer is 1 1 3.
Sample output has been corrected (-)
Posted by Vladimir Yakovlev (USU) 8 Mar 2007 14:51