summaryrefslogtreecommitdiff
path: root/main.zig
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-05 19:51:53 +0100
committerXander Bil <xander@biltopia.org>2024-12-05 19:51:53 +0100
commit8049b7685d644a880b85301f0143ce05d74ed57e (patch)
tree016c611e9cbce96367c0b2d03d142a304bf5ead7 /main.zig
parent30dcfdae77add982081b5fa70f3823dd1a942419 (diff)
downloadaoc2024-8049b7685d644a880b85301f0143ce05d74ed57e.tar.xz
aoc2024-8049b7685d644a880b85301f0143ce05d74ed57e.zip
add solution day 5
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 871eec2..3daefa7 100644
--- a/main.zig
+++ b/main.zig
@@ -5,6 +5,7 @@ const day01 = @import("src/day01.zig");
const day02 = @import("src/day02.zig");
const day03 = @import("src/day03.zig");
const day04 = @import("src/day04.zig");
+const day05 = @import("src/day05.zig");
pub fn main() !void {
if (std.os.argv.len != 3) {
@@ -37,6 +38,7 @@ pub fn main() !void {
2 => day02.solve(args[2], buffer),
3 => day03.solve(args[2], buffer, allocator),
4 => day04.solve(args[2], buffer, allocator),
+ 5 => day05.solve(args[2], buffer, allocator),
else => print("Day not yet implemented", .{}),
};
}