My solutions for Advent Of Code 2020 in C++20 to complete all puzzles for 50 ⭐.
--all #Run all days
--day <number> #Run the puzzle from the selected day
If no arguments are used, the application will calculate the last available puzzle.
- Each puzzle is stored in a separate file which can be found with the links below
- Part 1 and 2 are implemented in a single
DayX.h + DayX.cpp
file to share code if possible- Each solution contains a
SolveFirst
method to solve the first part andSolveSecond
for the second part
- Each solution contains a
- Inputs are stored in
input/
with the files named01.txt, 02.txt, ...
for each puzzle- The input is loaded into an input struct (
input.h
) which can be accessed as a raw string or line vector in each solution struct
- The input is loaded into an input struct (