An N-Queen Problem solver.
nqueen.py [-h] [--pretty]
nqueen.py
reads integers and prints corresponding solutions until EOF.
It is intendent to work using both Python 2.X and Python 3.X interpreters.
Option | Meaning |
---|---|
-h , --help |
Show help message and exit. |
--pretty |
Pretty-print the results. |
--queen-char CHAR |
Set the character representing the queen. This option only takes effect when the '--pretty' option is given. |