From e3b5415475824541d7a8fa97040e4681c8c48cd4 Mon Sep 17 00:00:00 2001 From: Akuli Date: Tue, 24 Dec 2024 23:17:17 +0200 Subject: [PATCH] Update examples/aoc2024/day17/part2.jou --- examples/aoc2024/day17/part2.jou | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/aoc2024/day17/part2.jou b/examples/aoc2024/day17/part2.jou index ed9cdaf2..1b64b8ce 100644 --- a/examples/aoc2024/day17/part2.jou +++ b/examples/aoc2024/day17/part2.jou @@ -163,7 +163,7 @@ def main() -> int: fclose(f) - results = find_matching_inputs(code, &code[code_len - code_len], code_len, -1) + results = find_matching_inputs(code, code, code_len, -1) best = results[0] for i = 0; results[i] != -1; i++: