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