Skip to content

Latest commit

 

History

History

bi-zum-sudoku-csp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sudoku for 100 % (CSP)

For detailed information, see the project report (in Czech).

Compile:

make all

Please note that default INPUT_FILE is examples/sudoku0.in.

Run:

# Manual mode
make INPUT_FILE=<your_input_file> manual

# Half-automatic mode
make INPUT_FILE=<your_input_file> half-automatic

# Automatic mode
make INPUT_FILE=<your_input_file> automatic

Clean object files:

make clean

Sample input file:

9 3
1 0 0 0 0 3 9 0 0
0 7 0 5 0 0 8 6 0
0 0 8 0 0 4 0 2 7
0 0 5 2 0 1 4 0 6
9 1 4 8 0 0 0 0 0
0 2 0 0 4 9 0 1 0
0 3 9 0 1 8 6 0 0
8 0 1 6 2 0 0 3 0
0 5 0 0 3 0 0 0 4

Results

Got 20/20 points.