d8 todo
This commit is contained in:
parent
dfb6e1952d
commit
13c81a6334
1 changed files with 1 additions and 0 deletions
1
d8/p2.go
1
d8/p2.go
|
@ -235,6 +235,7 @@ func findCode(digitsAsString string, display []string) int {
|
||||||
return asInt
|
return asInt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: refactor too complicated
|
||||||
func P2(in string) int {
|
func P2(in string) int {
|
||||||
lines := strings.Split(strings.TrimSpace(in), "\n")
|
lines := strings.Split(strings.TrimSpace(in), "\n")
|
||||||
sum := 0
|
sum := 0
|
||||||
|
|
Loading…
Reference in a new issue