From 5a9f22edb74541455dad6757b3c2b8bf3e688085 Mon Sep 17 00:00:00 2001 From: Sacha Ligthert <sacha@ligthert.net> Date: Tue, 21 Jan 2025 21:37:53 +0100 Subject: [PATCH] Minor touchups --- solver/solver.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/solver/solver.go b/solver/solver.go index 96b8eb1..d261175 100644 --- a/solver/solver.go +++ b/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) }