Day01
This commit is contained in:
13
2024/gareth/main.go
Normal file
13
2024/gareth/main.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"aoc2024/day01"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
data, _ := os.ReadFile("day01/input.txt")
|
||||
fmt.Printf("part 1: %d\n", day01.Part1(string(data)))
|
||||
fmt.Printf("part 2: %d\n", day01.Part2(string(data)))
|
||||
}
|
||||
Reference in New Issue
Block a user