This is a C++ program that can solve 9x9 Sudoku problems with the help of DFS algorithm. It gives at most 5 different answers.
Linux/macOS:
Before using it, ensure you've already installed g++ and make, then run the following code in your command-line.
mkdir ./sudoku
git clone https://github.com/Haozhe-py/sudoku.git
cd ./sudoku
make
./sudokuIf you've already compiled, run ./sudoku directly.
Windows:
You may have to use your IDE (e.g. Dev-C++, Visual Studio) to compile it.