Sacha Ligthert vor 1 Jahr
Ursprung
Commit
5a9f22edb7
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      solver/solver.go

+ 4 - 0
solver/solver.go

@@ -6,6 +6,8 @@ import (
 
 func Run() {
 	solver := Solver{}
+
+	// TODO: Move to args
 	solver.row1 = "769104802"
 	solver.row2 = "154800060"
 	solver.row3 = "002700150"
@@ -25,8 +27,10 @@ func Run() {
 	// Print the total number of solutions to validate
 	fmt.Println("Number of solutions:", solver.iter)
 
+	// Check the number of solutions
 	solver.check_combinations()
 
+	// Print the valid solutions
 	fmt.Println(solver.solutions)
 
 }