(In reply to
re(2): Full solution by Bractals)
yes, I just noticed my mistake. Jer's solution only works if the horizontal cut intersects with the diagonal cut. Thus we need y<=x which gives
nsqrt(mn)<=sqrt(mn)
n<=2*sqrt(mn)
n^2<=4mn
n/4<=m<=n
which fits the restriction in note 1.

Posted by Daniel
on 20130816 14:50:13 