The stupid question is the question not asked | |
PerlMonks |
Re: Re: Trying to solve N-Queensby Solo (Deacon) |
on Sep 09, 2002 at 03:53 UTC ( [id://196147]=note: print w/replies, xml ) | Need Help?? |
I don't believe it is necessary to check the diagonals of previous columns, since if it were possible for a queen in col 3 to attack the Q in col 1, the reverse is also true... that is, the position the Q in col 3 would have to be in was previously ruled out by the diagonals of Q in col 1.
In Section
Seekers of Perl Wisdom
|
|