summaryrefslogtreecommitdiff
path: root/main.zig
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-09 01:09:46 +0100
committerXander Bil <xander@biltopia.org>2024-12-09 01:09:46 +0100
commit9938190da763a7de7d938f9a1c097bc026ac7b91 (patch)
treeab2160f3ea2a5787319643868ffda08ea24b1692 /main.zig
parentbd982cf90112e274032385277906af3fae7efe24 (diff)
downloadaoc2024-9938190da763a7de7d938f9a1c097bc026ac7b91.tar.xz
aoc2024-9938190da763a7de7d938f9a1c097bc026ac7b91.zip
add solution day08
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 3018ab2..6f84de0 100644
--- a/main.zig
+++ b/main.zig
@@ -8,6 +8,7 @@ const day04 = @import("src/day04.zig");
const day05 = @import("src/day05.zig");
const day06 = @import("src/day06.zig");
const day07 = @import("src/day07.zig");
+const day08 = @import("src/day08.zig");
pub fn main() !void {
if (std.os.argv.len != 3) {
@@ -43,6 +44,7 @@ pub fn main() !void {
5 => day05.solve(args[2], buffer, allocator),
6 => day06.solve(args[2], buffer, allocator),
7 => day07.solve(args[2], buffer, allocator),
+ 8 => day08.solve(args[2], buffer, allocator),
else => print("Day not yet implemented", .{}),
};
}