aboutsummaryrefslogtreecommitdiffstats
path: root/day05/solution.zig
diff options
context:
space:
mode:
Diffstat (limited to 'day05/solution.zig')
-rw-r--r--day05/solution.zig23
1 files changed, 23 insertions, 0 deletions
diff --git a/day05/solution.zig b/day05/solution.zig
new file mode 100644
index 0000000..059a120
--- /dev/null
+++ b/day05/solution.zig
@@ -0,0 +1,23 @@
1const std = @import("std");
2const print = std.debug.print;
3const assert = std.debug.assert;
4const ArrayList = std.ArrayList;
5const HashMap = std.HashMap;
6const mem = std.mem;
7
8const fin = mem.trim(u8, @embedFile("./input.txt"), &std.ascii.whitespace);
9var gpa = std.heap.GeneralPurposeAllocator(.{}){};
10const allocator = gpa.allocator();
11
12pub fn part1() void {
13 // Part 1 goes here
14}
15
16pub fn part2() void {
17 // Part 2 goes here
18}
19
20pub fn main() !void {
21 part1();
22 part2();
23}