Skip to content
sudoku solver written in C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
COPYING
Makefile
README
example1.sudoku
example2.sudoku
example3.sudoku
main.c

README

Solve sudokus by using a backtracking algorithm
===============================================

compile the program by running make

write your sudoku in a file using the following format:

---39--1-
5-1----4-
9--7--5--
6-253--7-
----7---8
7--8--9-3
8-3-1--9-
-9-2-6--7
4----3-61

the '-' character represents a not known number
all other numbers are the known numbers

then solve the sudoku:

./sudoku mysudoku.txt
You can’t perform that action at this time.