summaryrefslogtreecommitdiff
path: root/main.zig
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-13 22:17:20 +0100
committerXander Bil <xander@biltopia.org>2024-12-13 22:17:20 +0100
commit7579dfa5138906e627c50177d25de7f5d9f147f1 (patch)
tree2e2c149cf053f410bfb1566ac00f2d3b7068fd42 /main.zig
parent45bd0d906ecc1864c42402fd88288666ec4b46ab (diff)
downloadaoc2024-main.tar.xz
aoc2024-main.zip
add solution day12HEADmain
Diffstat (limited to 'main.zig')
-rw-r--r--main.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.zig b/main.zig
index 73ca11d..39874f5 100644
--- a/main.zig
+++ b/main.zig
@@ -12,6 +12,7 @@ const day08 = @import("src/day08.zig");
const day09 = @import("src/day09.zig");
const day10 = @import("src/day10.zig");
const day11 = @import("src/day11.zig");
+const day12 = @import("src/day12.zig");
pub fn main() !void {
if (std.os.argv.len != 3) {
@@ -51,6 +52,7 @@ pub fn main() !void {
9 => day09.solve(args[2], buffer, allocator),
10 => day10.solve(args[2], buffer, allocator),
11 => day11.solve(args[2], buffer, allocator),
+ 12 => day12.solve(args[2], buffer, allocator),
else => print("Day not yet implemented", .{}),
};
}