From cc41259f8fd79656b36ecab456e8db15ee79e653 Mon Sep 17 00:00:00 2001 From: Akuli Date: Sat, 4 Jan 2025 02:06:43 +0200 Subject: [PATCH] close the file --- examples/aoc2024/day21/part2.jou | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/aoc2024/day21/part2.jou b/examples/aoc2024/day21/part2.jou index d2016960..21b05e1a 100644 --- a/examples/aoc2024/day21/part2.jou +++ b/examples/aoc2024/day21/part2.jou @@ -240,4 +240,6 @@ def main() -> int: result += numpad_cost(line, initial_level) * atoi(line) printf("%lld\n", result) # Output: 126384 + + fclose(f) return 0