Minor touchups
This commit is contained in:
parent
458e5ac101
commit
5a9f22edb7
@ -6,6 +6,8 @@ import (
|
|||||||
|
|
||||||
func Run() {
|
func Run() {
|
||||||
solver := Solver{}
|
solver := Solver{}
|
||||||
|
|
||||||
|
// TODO: Move to args
|
||||||
solver.row1 = "769104802"
|
solver.row1 = "769104802"
|
||||||
solver.row2 = "154800060"
|
solver.row2 = "154800060"
|
||||||
solver.row3 = "002700150"
|
solver.row3 = "002700150"
|
||||||
@ -25,8 +27,10 @@ func Run() {
|
|||||||
// Print the total number of solutions to validate
|
// Print the total number of solutions to validate
|
||||||
fmt.Println("Number of solutions:", solver.iter)
|
fmt.Println("Number of solutions:", solver.iter)
|
||||||
|
|
||||||
|
// Check the number of solutions
|
||||||
solver.check_combinations()
|
solver.check_combinations()
|
||||||
|
|
||||||
|
// Print the valid solutions
|
||||||
fmt.Println(solver.solutions)
|
fmt.Println(solver.solutions)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user