- nqueen.cpp: recursion solver
$ make rec N=<number>
- cnf.cpp: translate into CNF. (Output .cnf file)
$ make cnf N=<number> FNAME=<CNFfilename>
With MacOS,
$ cryptominisat5 <CNFfilename>
You may need to install cryptominisat with brew.
With WSL, replace cryptominisat as minisat, which can be installed by apt.