https://github.com/expander/sudoku_solver
A sudoku solver
https://github.com/expander/sudoku_solver
Last synced: 6 months ago
JSON representation
A sudoku solver
- Host: GitHub
- URL: https://github.com/expander/sudoku_solver
- Owner: Expander
- Created: 2012-08-05T17:28:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-07-19T12:01:29.000Z (over 10 years ago)
- Last Synced: 2025-01-12T09:22:41.432Z (about 1 year ago)
- Language: C++
- Size: 211 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Sudoku solver
=============
This is a simple sudoku solver, which (until now) uses a backtracking
algorithm.
Compilation
-----------
To compile the program run the command `make'
$ make
Execution
---------
The sudokus are stored in .txt files in the sudokus/ directory. To
solve one run
$ ./sudoku_solver -f sudokus/s1.txt
Sudoku text files
-----------------
The sudoku solver input files are simple text files, where the sudoku
is stored in a table format where the columns are separated by
whitespace. Newlines and lines that begin with `#' are ignored. See
sudokus/s1.txt for an example.
Help
----
To get help run
$ ./sudoku_solver --help