Skip to content

Instantly share code, notes, and snippets.

@DevinKott-RIT
Created November 1, 2017 02:49
Show Gist options
  • Save DevinKott-RIT/abe7484dbae12111279675fdac64016a to your computer and use it in GitHub Desktop.
Save DevinKott-RIT/abe7484dbae12111279675fdac64016a to your computer and use it in GitHub Desktop.
GOROOT=C:\Go #gosetup
GOPATH=C:\Go\bin #gosetup
C:\Go\bin\go.exe build -i -o C:\Users\DevinKott\AppData\Local\Temp\___SudukoSolver_go.exe C:/Users/DevinKott/GoglandProjects/SudukoBacktracker/src/SudukoSolver.go #gosetup
"C:\Program Files\JetBrains\Gogland 173.3415.23\bin\runnerw.exe" C:\Users\DevinKott\AppData\Local\Temp\___SudukoSolver_go.exe ./puzzles/easy.txt #gosetup
Initial Matrix:
6 0 8 0 9 3 2 0 1
0 0 0 0 4 0 0 0 0
3 0 2 0 6 0 0 4 0
0 0 0 2 3 0 7 6 5
0 0 7 0 0 0 3 0 0
2 3 6 0 8 5 0 0 0
0 6 0 0 5 0 1 0 4
0 0 0 0 7 0 0 0 0
8 0 9 4 2 0 5 0 7
Solved:
6 4 8 5 9 3 2 7 1
9 7 1 8 4 2 6 5 3
3 5 2 1 6 7 9 4 8
1 8 4 2 3 9 7 6 5
5 9 7 6 1 4 3 8 2
2 3 6 7 8 5 4 1 9
7 6 3 9 5 8 1 2 4
4 2 5 3 7 1 8 9 6
8 1 9 4 2 6 5 3 7
Time: 0 ms
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment