Collection of my participation to advent of code puzzles with C++ language.
- CMake >= 3.22.1
- Make >= 4.3
- gcc >= 11.3.0
Here are the commands to build executables:
mkdir build
cmake -S . -B build
cd build && make
Run day XX
./<yyyy>/day<dd>_main <input_file>
-
Get cookie session from advent of code (need registration) & copy-paste it to
<yyyy>/.cookie
file -
Run (as expected)
add_new_day.sh
bash script:
./add_new_day.sh <yyyy> <dd> <description>