aoc2024/day-13/internal/machine/util.go

12 lines
137 B
Go
Raw Permalink Normal View History

2024-12-13 12:11:56 +00:00
package machine
import "strconv"
func mustConv(s string) int {
n, err := strconv.Atoi(s)
if err != nil {
panic(err)
}
return n
}