八皇后拼图,打印所有的算法
八皇后拼图,打印所有的算法的完整源码(定义,实现,main函数测试)
#include <iostream>
#include <array>
/**
* @namespace backtracking
* @brief Backtracking algorithms
*/
namespace backtracking {
/**
* @namespace n_queens_all_solutions
* @brief Functions for [Eight
* Queens](https://en.wikipedia.org/wiki/Eight_queens_puzzle)