Watch
1
0
Fork
You've already forked advent-of-code
0

2021 Day 16 Part 1

This commit is contained in:
Jeremy Kaplan 2021-12-15 22:25:10 -08:00
commit 28db460d7b
2 changed files with 162 additions and 0 deletions

View file

@ -39,6 +39,14 @@ func MustInt(s string) int {
return i
}
func MustHex(s string) int {
i, err := strconv.ParseInt(s, 16, 0)
if err != nil {
panic(err)
}
return int(i)
}
type Inputs struct {
fs fs.FS
}