/N-Queens

Can N queens co-exist on an N by N chess board? If so how?

Primary LanguagePython

N Queens

Calculate the unique number of solutions to the N-Queens problem for an NxN board.

usage:

python nqueens.py <number of queens>

Example:

python nqueens.py 4

Note: I was completely sober (seriously, @mythmon can confirm) while writing this code.

###Report If you want to see the report run the gen_report.sh script.

./gen_report.sh