diff options
Diffstat (limited to 'day05')
| -rw-r--r-- | day05/solution.zig | 23 |
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 @@ | |||
| 1 | const std = @import("std"); | ||
| 2 | const print = std.debug.print; | ||
| 3 | const assert = std.debug.assert; | ||
| 4 | const ArrayList = std.ArrayList; | ||
| 5 | const HashMap = std.HashMap; | ||
| 6 | const mem = std.mem; | ||
| 7 | |||
| 8 | const fin = mem.trim(u8, @embedFile("./input.txt"), &std.ascii.whitespace); | ||
| 9 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | ||
| 10 | const allocator = gpa.allocator(); | ||
| 11 | |||
| 12 | pub fn part1() void { | ||
| 13 | // Part 1 goes here | ||
| 14 | } | ||
| 15 | |||
| 16 | pub fn part2() void { | ||
| 17 | // Part 2 goes here | ||
| 18 | } | ||
| 19 | |||
| 20 | pub fn main() !void { | ||
| 21 | part1(); | ||
| 22 | part2(); | ||
| 23 | } | ||
