viliusan / aoc2023-go

My Advent of Code 2023 workspace, solving in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

My Advent of Code 2023 workspace, solving in Go


Languages

Language:Go 97.9%Language:Shell 2.1%