From 9ed30f54f5d73fcdc9a56613baed28c53659aba5 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Sat, 6 Dec 2025 21:22:31 +0100 Subject: feat(2025d3p1): partial solution, getting the wrong answer 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/ocaml/lib/application/d03p01.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to '2025/ocaml/lib/application/d03p01.mli') diff --git a/2025/ocaml/lib/application/d03p01.mli b/2025/ocaml/lib/application/d03p01.mli index 85f7e78..d875e40 100644 --- a/2025/ocaml/lib/application/d03p01.mli +++ b/2025/ocaml/lib/application/d03p01.mli @@ -2,3 +2,5 @@ val solve : string -> unit -> int (** [solve input ()] is the solution for the first part of the third day of advent of code 2025 for [input]. The solution for an empty input is 0. Requires: [input] to be a string. *) + +val print_occurring_digits : string -> unit -> int -- cgit v1.2.3