- Create
daynN/test.txt - Create
dayN/input.txt - Run:
go run dayN/main.go -part <1 or 2> [-test]
-test will run the test.txt inputs instead of input.txt
- Create
daynN/test.txt - Create
dayN/input.txt mkdir bin/- Build:
go build -o bin/dayN dayN/main.go - Run:
bin/dayN -part <1 or 2> [-test]
-test will run the test.txt inputs instead of input.txt
Run ./create-day.sh <N> where N is the day number