Add day 8 implementation with input parsing and distance calculations

- Created CMakeLists.txt for day 8 and added it to the main CMakeLists.txt.
- Implemented main.cpp for day 8, including functions for parsing input, calculating distances, and processing point combinations.
- Added test and puzzle input files for day 8.
This commit is contained in:
Feiko Wielsma 2025-12-09 22:38:06 +00:00
parent 6e70ea4a45
commit 9a3e228f00
5 changed files with 1181 additions and 0 deletions

20
day8/test_input Normal file
View file

@ -0,0 +1,20 @@
162,817,812
57,618,57
906,360,560
592,479,940
352,342,300
466,668,158
542,29,236
431,825,988
739,650,466
52,470,668
216,146,977
819,987,18
117,168,530
805,96,715
346,949,466
970,615,88
941,993,340
862,61,35
984,92,344
425,690,689