diff options
| author | DJ O'Leary <dijitol@proton.me> | 2025-12-13 15:11:33 +0100 |
|---|---|---|
| committer | DJ O'Leary <dijitol@proton.me> | 2025-12-13 15:11:33 +0100 |
| commit | 4316e7c4fc083aa413a509328b71d0b3ab8f919d (patch) | |
| tree | a23547e3ea0029704be6de35484d4548a4749a89 /2024/_input/day_16.txt | |
| parent | 4231f1c8d4a0f9c2bbe785209c10e9e481eff795 (diff) | |
fix(2025d3): fix bug in logic
Changelog:
- pattern match on list with one element instead of checking is_end variable
- pattern match on c_gt_? variables instead of using if statements to ensure all possiblities are covered
- reuse swap_if_higher when we have (Some _, None) instead of inserting to second slot, as this was screwing with the promotion logic
Diffstat (limited to '2024/_input/day_16.txt')
0 files changed, 0 insertions, 0 deletions
