π Advent of Code 2020 π
Summary
Advent of Code is an annual Advent calendar of programming puzzles.
This year I am doing it in Go.
Running the code
To run the code of a specific day from the root directory run the following, replacing XX
with the day number, 01
- 25
:
go run day_XX/main.go
Make sure you have Go installed.
To run the code of all days run the script:
./run_all.sh
Make sure you have given permission to execute (chmod +x run_all.sh
).
Overview
Day | Name | Stars |
---|---|---|
01 | Report Repair | ββ |
02 | Password Philosophy | ββ |
03 | Toboggan Trajectory | ββ |
04 | Passport Processing | ββ |
05 | Binary Boarding | ββ |
06 | Custom Customs | ββ |
07 | Handy Haversacks | ββ |
08 | Handheld Halting | ββ |
09 | Encoding Error | ββ |
10 | Adapter Array | ββ |
11 | Seating System | ββ |
12 | Rain Risk | ββ |
13 | Shuttle Search | ββ |
14 | Docking Data | ββ |
15 | Rambunctious Recitation | ββ |
16 | Ticket Translation | ββ |
17 | Conway Cubes | ββ |
18 | Operation Order | ββ |
19 | Monster Messages | ββ |
20 | Jurassic Jigsaw | ββ |
21 | Allergen Assessment | ββ |
22 | Crab Combat | ββ |
23 | Crab Cups | ββ |
24 | Lobby Layout | ββ |
25 | Combo Breaker | ββ |
Linting
gofmt -s -w .
git ls-files | grep .go | xargs golint