Fix readme
This commit is contained in:
parent
78e775d523
commit
08ddddacff
|
@ -22,15 +22,15 @@ I'm using a `std::multiset` to collect and sort the values for both lists. This
|
|||
|
||||
### Day 2: Red-Nosed Reports
|
||||
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2024/day/2>, :white_check_mark: Solver: [`HistorianHysteria.cpp`](AdventOfCode2024/RedNosedReports.cpp)
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2024/day/2>, :white_check_mark: Solver: [`RedNosedReports.cpp`](AdventOfCode2024/RedNosedReports.cpp)
|
||||
|
||||
Here, we have a few conditionals to determine on the fly which of the numbers would make the report safe if dropped. The amount of cases is actually quite manageable.
|
||||
|
||||
### Day 3: Day 3: Mull It Over
|
||||
### Day 3: Mull It Over
|
||||
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2024/day/3>, :white_check_mark: Solver: [`HistorianHysteria.cpp`](AdventOfCode2024/MullItOver.cpp)
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2024/day/3>, :white_check_mark: Solver: [`MullItOver.cpp`](AdventOfCode2024/MullItOver.cpp)
|
||||
|
||||
A simple finite state machine crawling along the input character by character solves both parts nicely. The algorithm tracks whether `mul` instructions are enabled or not, but ignores this setting for part 1.
|
||||
A simple [finite state machine](AdventOfCode2024/StringStateMachine.h) crawling along the input character by character solves both parts nicely. The algorithm tracks whether `mul` instructions are enabled or not, but ignores this setting for part 1.
|
||||
|
||||
## License
|
||||
|
||||
|
|
Loading…
Reference in New Issue