Skip to content
Snippets Groups Projects

Advent of Code - 09/12/2024

Build the project:

mkdir build
cd build
cmake ..
make

Run problem 1:

./main1 ../input

Run problem 2:

./main2 ../input

Problem 1

Known limitation: the last file can be split into several bunch of itself. Yet the expected result is correct. (i.e. <6,2> == <6,1>+<6,1> on the demo sample).