Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 519 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 519 Bytes

Running

  1. Create daynN/test.txt
  2. Create dayN/input.txt
  3. Run: go run dayN/main.go -part <1 or 2> [-test]

-test will run the test.txt inputs instead of input.txt

Compiling and running

  1. Create daynN/test.txt
  2. Create dayN/input.txt
  3. mkdir bin/
  4. Build: go build -o bin/dayN dayN/main.go
  5. Run: bin/dayN -part <1 or 2> [-test]

-test will run the test.txt inputs instead of input.txt

Template a day directory

Run ./create-day.sh <N> where N is the day number