Learning GO and C++ by doing the Advent Of Code 2023. I will see how far I can get!
For the GO solutions, you can run various days and parts by running go run main.go
in the root dir with different flags:
-all
Run all days
-day int
Day to run (between 1 and 25) (default -1)
-part int
Part to run (1 or 2) (default -1)
-test
Run day in test mode (input.txt -> test.txt)
For the C++ solutions, you can run each day individually by going into the day-<num>/cpp
folder and running the .cpp
file with g++
:
g++ day1.cpp -o output.out && ./output.out
I am trying to do both GO and C++ solutions for each day, but I might not have time to do both for each day, or do them on the same day. I will try to keep the table below updated with my progress. A ⭐️ represents a fully completed part without any help, ✨ means a part with some idea help (no code) from reddit. In addition, 🌟 means that the implementation could use some performance improvements.
Day | Title | Go | C++ |
---|---|---|---|
1 | Trebuchet?! | ⭐️ ⭐️ | ⭐️ ⭐️ |
2 | Cube Conundrum | ⭐️ ⭐️ | ⭐️ ⭐️ |
3 | Gear Ratios | ⭐️ ⭐️ | ⭐️ ⭐️ |
4 | Scratchcards | ⭐️ ⭐️ | ⭐️ ⭐️ |
5 | If You Give A Seed A Fertilizer | ⭐️ ⭐️ | |
6 | Wait For It | ⭐️ ⭐️ | ⭐️ ⭐️ |
7 | Camel Cards | ⭐️ ⭐️ | |
8 | Haunted Wasteland | ⭐️ ⭐️ | ⭐️ ⭐️ |
9 | Mirage Maintenance | ⭐️ ⭐️ | |
10 | Pipe Maze | ⭐️ ⭐️ | |
11 | Cosmic Expansion | ⭐️ ⭐️ | |
12 | Hot Springs | ✨ ⭐️ | |
13 | Point of Incidence | ⭐️ ⭐️ | |
14 | Parabolic Reflector Dish | ⭐️ ⭐️ | |
15 | Lens Library | ⭐️ ⭐️ | |
16 | The Floor Will Be Lava | ⭐️ ⭐️ | |
17 | Clumsy Crucible | ||
18 | Lavaduct Lagoon | ⭐️ ⭐️ | |
19 | Aplenty | ⭐️ ⭐️ | |
20 | Pulse Propagation | ||
21 | Step Counter | ⭐️ | |
22 | |||
23 | |||
24 | |||
25 |