summaryrefslogtreecommitdiff
path: root/main.zig
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-06 22:01:18 +0100
committerXander Bil <xander@biltopia.org>2024-12-06 22:01:18 +0100
commit65860a5cd10121ef7f8b11eab0976970d7b35dcc (patch)
treeddae92d02b0edb88ad14f2ad1d2b6527ed4e714a /main.zig
parent8049b7685d644a880b85301f0143ce05d74ed57e (diff)
downloadaoc2024-65860a5cd10121ef7f8b11eab0976970d7b35dcc.tar.xz
aoc2024-65860a5cd10121ef7f8b11eab0976970d7b35dcc.zip
add solution day06
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 3daefa7..98a6d94 100644
--- a/main.zig
+++ b/main.zig
@@ -6,6 +6,7 @@ const day02 = @import("src/day02.zig");
const day03 = @import("src/day03.zig");
const day04 = @import("src/day04.zig");
const day05 = @import("src/day05.zig");
+const day06 = @import("src/day06.zig");
pub fn main() !void {
if (std.os.argv.len != 3) {
@@ -39,6 +40,7 @@ pub fn main() !void {
3 => day03.solve(args[2], buffer, allocator),
4 => day04.solve(args[2], buffer, allocator),
5 => day05.solve(args[2], buffer, allocator),
+ 6 => day06.solve(args[2], buffer, allocator),
else => print("Day not yet implemented", .{}),
};
}