1
0

Add solution for "Day 1: Secret Entrance", part 2

This commit is contained in:
Stefan Müller
2026-01-27 22:36:49 +01:00
parent b5665199e1
commit af14e87459
4 changed files with 48 additions and 21 deletions
+9 -3
View File
@@ -1,6 +1,6 @@
# AdventOfCode2025
Solver for Advent of Code 2025 puzzles. https://adventofcode.com/2025/
Solver for Advent of Code 2025 puzzles. <https://adventofcode.com/2025/>
This is a single command line application for the puzzles written in [Rust](https://rust-lang.org/).
@@ -10,6 +10,12 @@ This project does not contain the puzzle or example inputs as per the [copyright
## Solutions
### Day 1: Secret Entrance
:mag_right: Puzzle: <https://adventofcode.com/2025/day/1>, :white_check_mark: Solver: [`SecretEntrance`](src/solvers/secret_entrance.rs)
For this one, we are moving around a dial with some not too complicated modulo calculations.
### Day 4: Printing Department
:mag_right: Puzzle: <https://adventofcode.com/2025/day/4>, :white_check_mark: Solver: [`PrintingDepartment`](src/solvers/printing_department.rs)
@@ -36,10 +42,10 @@ The package contains unit tests for each solver to help troubleshoot issues and
## License
Copyright (C) 2025 Stefan Müller
Copyright (C) 2025-2026 Stefan Müller
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.