summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/domain/d03p01.ml
AgeCommit message (Collapse)Author
2025-12-13fix(2025d3): fix bug in logicDJ O'Leary
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
2025-12-13chore(2025d3): reword failwith messageDJ O'Leary
2025-12-06feat(2025d3p1): partial solution, getting the wrong answerDJ O'Leary
Manually did entire real input and codified into tests but even sum of manual answer is wrong. Code fails for some lines of real input and these failing lines have been reduced into regression tests. work-in-progress: true
2025-12-04feat(2025d3p1): create skeletonDJ O'Leary