Let me add that the APL finds ALL solutions, no rotations or symmetries,
and written to print out on a typewriter. Somewhere in the code I think I
have page width (quad PW), so that as many solutions as possible print
across the page. Further you get a picture of the board, not just
coordinate pairs.
I'll make no attempt to get this to the forum.
Ralph S
On Sun, Apr 6, 2008 at 11:39 AM, Devon McCormick <[EMAIL PROTECTED]> wrote:
Wait, it _is_ online:
http://www.vector.org.uk/archive/v103/selfridge103_94.htm (Ralph's one-liner
solution to the N-Queens problem).
Interesting.
A J one-liner (transcribed, almost literally, from that explicit
solution in the J
wiki) was significantly shorter.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm