This commit is contained in:
Simon Ziegler
2025-12-08 14:49:29 +01:00
parent c870a79ba3
commit 0cb6eea26c
2 changed files with 74 additions and 7 deletions

11
pkg/aoc/parse.go Normal file
View File

@@ -0,0 +1,11 @@
package aoc
import "strconv"
func ParseInt(s string) int {
if i, err := strconv.Atoi(s); err != nil {
panic(err)
} else {
return i
}
}