Skip to content

sudoku program contains both generator & solver.

Notifications You must be signed in to change notification settings

JerryYouxin/sudoku

Repository files navigation

Usage

arguments means
-c N generate N sudoku-s
-s path solve sudoku puzzles in path file

a valid data input is as follows:

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

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

………………

note that no space or other charactors other than '\n' is at the end of a line.

About

sudoku program contains both generator & solver.

Resources

Stars

Watchers

Forks

Packages

No packages published