From 9a8de11888f972c1b0524ddeae5ba15aded7c74b Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Tue, 3 Dec 2024 09:14:11 -0600 Subject: [PATCH] Clean up some debugging --- 2024/day03/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/2024/day03/main.go b/2024/day03/main.go index 57596f6..d458df0 100644 --- a/2024/day03/main.go +++ b/2024/day03/main.go @@ -21,7 +21,6 @@ func part1(inp string) { for _, v := range cmds { var num1, num2 int fmt.Sscanf(v, "mul(%d,%d)", &num1, &num2) - fmt.Printf("%s -> %d * %d = %d\n", v, num1, num2, num1*num2) total = total + (num1 * num2) } fmt.Println("# Part 1") @@ -35,8 +34,6 @@ func part2(inp string) { var cmd Command prev := inp cmd, inp = getNextCommand(inp) - fmt.Println("Processing Command:", cmd) - fmt.Println("Remainder:", inp) if prev == inp { panic("Remainder didn't change") }