Remove some stray error checking in days 7 and 8
parent
5dc1503ce8
commit
756fa3b52a
|
@ -35,10 +35,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
input := strings.TrimSpace(string(inputBytes))
|
input := strings.TrimSpace(string(inputBytes))
|
||||||
if err != nil {
|
|
||||||
panic(fmt.Sprintf("failed to parse input: %s", err))
|
|
||||||
}
|
|
||||||
|
|
||||||
inputLines := strings.Split(input, "\n")
|
inputLines := strings.Split(input, "\n")
|
||||||
races, err := parseRaces(inputLines)
|
races, err := parseRaces(inputLines)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -54,10 +54,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
input := strings.TrimSpace(string(inputBytes))
|
input := strings.TrimSpace(string(inputBytes))
|
||||||
if err != nil {
|
|
||||||
panic(fmt.Sprintf("failed to parse input: %s", err))
|
|
||||||
}
|
|
||||||
|
|
||||||
inputLines := strings.Split(input, "\n")
|
inputLines := strings.Split(input, "\n")
|
||||||
if len(inputLines) < 3 {
|
if len(inputLines) < 3 {
|
||||||
panic("not enough data in input to parse")
|
panic("not enough data in input to parse")
|
||||||
|
|
Loading…
Reference in New Issue