mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-15 23:20:49 +00:00
22 lines
270 B
Go
22 lines
270 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
log "github.com/sirupsen/logrus"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
log.SetLevel(log.DebugLevel)
|
||
|
}
|
||
|
|
||
|
func main() {
|
||
|
lines := readlines()
|
||
|
|
||
|
ans := one(lines)
|
||
|
fmt.Printf("solution one: %d\n", ans)
|
||
|
|
||
|
ans = two(lines)
|
||
|
fmt.Printf("solution two: %d\n", ans)
|
||
|
}
|