No description
| day3.cpp | ||
| day3p2.cpp | ||
| README.md | ||
AOC2024 day3
took me some time but here is aoc 2024 day 3 in C++ metaprog! also this is only p1, (and with how fast im going, see you next year for p2)
it requires C++17. I could only do it thanks to Nelson Elhage, and his day 1 writeup for aoc 2023.
compilation
c++ -std=c++17 ./day3.cpp -o day3.o
If a input.txt is found in the same directory, and you compiled it with
-DINPUT it will use it as input.
you can play with -ftemplate-depth if needed but beware, the compile time
is likely to be exponential to that number.