From 13c81a63349ad4f3e0ef7487476a342200093702 Mon Sep 17 00:00:00 2001 From: Gregory Date: Tue, 22 Feb 2022 01:55:11 +0200 Subject: [PATCH] d8 todo --- d8/p2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/d8/p2.go b/d8/p2.go index 935c218..7d957c4 100644 --- a/d8/p2.go +++ b/d8/p2.go @@ -235,6 +235,7 @@ func findCode(digitsAsString string, display []string) int { return asInt } +// TODO: refactor too complicated func P2(in string) int { lines := strings.Split(strings.TrimSpace(in), "\n") sum := 0