OK I misread that line 12 is empty, so a square is either empty or has an x in the upper left corner.
You are filling max squares first left to right and then up to down.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: Tricky math problem ...
by LanX
in thread Tricky math problem ...
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |