From bea4f844a83e5510a8f3b074ffb25f12bc0aeeab Mon Sep 17 00:00:00 2001 From: didier amyot Date: Sat, 7 Dec 2024 11:47:02 -0500 Subject: [PATCH] question 7 --- go/question7/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go/question7/main.go b/go/question7/main.go index 9b5941b..bbb97bf 100644 --- a/go/question7/main.go +++ b/go/question7/main.go @@ -180,7 +180,6 @@ func problem7B(input string) int64 { } func isSolvable(row *ProblemRow, operands ...Operand) bool { - fmt.Println("") for node := range createAllPossibleChain(row.numbers, operands...) { if process(node) == row.res { return true @@ -192,6 +191,6 @@ func isSolvable(row *ProblemRow, operands ...Operand) bool { func main() { fmt.Printf("The answer to question 7A is %d \n", problem7A(realInput)) - fmt.Printf("The answer to question 7B is %d \n", problem7B(mockInput)) + fmt.Printf("The answer to question 7B is %d \n", problem7B(realInput)) }