watch my setup video here
go test -timeout 10s -run ^TestParts$ aoc/cmd/year[year]/day[day]
example: go test -timeout 10s -run ^TestParts$ aoc/cmd/year2024/day7
go run main.go [year] day[day]
example: go run main.go 2024 day1
- day 1
- day 2
- day 3
- day 4
- day 5
- day 6
- day 7
- day 8
- day 9
- day 10
- day 11
- day 12
- day 13
- day 14
- day 15
- day 16
- day 17
- day 18
- day 19
all test inputs are the same for each AOC day. You can pull those from the website and place them in the respective input files.
All actual input is different for each user and the creators of AOC have asked that we not share that data. You can use your own input by creating the respective 1.txt,2.txt and test.txt,test2.txt