Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: The N-queens problem using pure regexes

by Abigail-II (Bishop)
on Oct 09, 2003 at 14:30 UTC ( [id://297922]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ ./queens -p -n 4
    ';,a1,a2,a3,a4,
    ...
    [a3 b1 c4 d2]
    $ ./queens -n 8
    [a8 b4 c1 d3 e6 f2 g7 h5]
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    }
        
    __END__
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://297922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found