summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d03p01.mli
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-12-06 21:22:31 +0100
committerDJ O'Leary <dijitol@proton.me>2025-12-06 21:22:36 +0100
commit9ed30f54f5d73fcdc9a56613baed28c53659aba5 (patch)
treed32c963d575b77d60ca84a0813415055c199e381 /2025/ocaml/lib/application/d03p01.mli
parent80af66af9527999e29343b14d3311f0a0b83c4f4 (diff)
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
Diffstat (limited to '2025/ocaml/lib/application/d03p01.mli')
-rw-r--r--2025/ocaml/lib/application/d03p01.mli2
1 files changed, 2 insertions, 0 deletions
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