Commit graph

5 commits

Author SHA1 Message Date
a4dd7b6e5b Day2 part 2 2025-12-03 23:05:57 +00:00
5d1d878d78 Day2Part1 2025-12-03 21:28:53 +00:00
86dcbd3aaf Idiot version for dayp2 2025-12-01 22:31:59 +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