Remove some stray error checking in days 7 and 8

master
Nick Krichevsky 2023-12-09 13:30:31 -05:00
parent 5dc1503ce8
commit 756fa3b52a
2 changed files with 0 additions and 8 deletions

View File

@ -35,10 +35,6 @@ func main() {
}
input := strings.TrimSpace(string(inputBytes))
if err != nil {
panic(fmt.Sprintf("failed to parse input: %s", err))
}
inputLines := strings.Split(input, "\n")
races, err := parseRaces(inputLines)
if err != nil {

View File

@ -54,10 +54,6 @@ func main() {
}
input := strings.TrimSpace(string(inputBytes))
if err != nil {
panic(fmt.Sprintf("failed to parse input: %s", err))
}
inputLines := strings.Split(input, "\n")
if len(inputLines) < 3 {
panic("not enough data in input to parse")