Commit graph

10 commits

Author SHA1 Message Date
c9cec84910 Day 9 2025-12-18 22:05:34 +00:00
9a3e228f00 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.
2025-12-09 22:38:06 +00:00
6e70ea4a45 Add Day 7 implementation with input files and CMake configuration 2025-12-07 20:22:47 +00:00
b922c94b43 Day6 2025-12-06 23:01:27 +00:00
43448aaeb6 Day5 2025-12-06 20:36:52 +00:00
eac8571ea7 Refactor CMake and VSCode settings; add Day 4 solution
- Updated .vscode/settings.json to enhance Clangd configuration and disable IntelliSense.
- Removed obsolete Clang-Format and Clang-Tidy tasks from .vscode/tasks.json.
- Modified CMakeLists.txt to enable compile commands export and adjusted target properties for Day 4.
- Added new CMakeLists.txt and main.cpp for Day 4 solution, implementing diagram parsing and movable paper counting logic.
- Included test_input and puzzle_input files for Day 4.
- Deleted the run-clang-tidy.sh script as it is no longer needed.
2025-12-04 14:22:43 +00:00
1fe4ecca8a D3P1 2025-12-04 11:58:32 +00:00
5d1d878d78 Day2Part1 2025-12-03 21:28:53 +00:00
38eca3b747 Implement safe cracking logic and setup development environment
- Added a new `main.cpp` file with logic to parse dial rotations from a file and execute safe cracking based on the parsed data.
- Introduced a `DialRotation` struct to represent the direction and distance of dial rotations.
- Implemented `parseRotations` function to read and parse input from a specified file, returning a vector of `DialRotation` or an error message.
- Created `executeSafeCrack` function to process the dial rotations and print the current state of the dial.
- Added `.clang-format` and `.clang-tidy` configuration files for code formatting and linting.
- Set up a Dockerfile for a development container with necessary tools and dependencies.
- Configured VS Code settings and tasks for building, formatting, and running clang-tidy.
- Added a script to run clang-tidy on the source files, ensuring code quality.
2025-12-01 21:01:09 +00:00
c093e8a4bf Scaffold day 1 2025-12-01 20:29:57 +01:00