diff options
Diffstat (limited to 'template.zig')
| -rw-r--r-- | template.zig | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/template.zig b/template.zig index 059a120..c9ec529 100644 --- a/template.zig +++ b/template.zig | |||
| @@ -9,15 +9,10 @@ const fin = mem.trim(u8, @embedFile("./input.txt"), &std.ascii.whitespace); | |||
| 9 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | 9 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; |
| 10 | const allocator = gpa.allocator(); | 10 | const allocator = gpa.allocator(); |
| 11 | 11 | ||
| 12 | pub fn part1() void { | 12 | pub fn solve() void { |
| 13 | // Part 1 goes here | 13 | // solve |
| 14 | } | ||
| 15 | |||
| 16 | pub fn part2() void { | ||
| 17 | // Part 2 goes here | ||
| 18 | } | 14 | } |
| 19 | 15 | ||
| 20 | pub fn main() !void { | 16 | pub fn main() !void { |
| 21 | part1(); | 17 | solve(); |
| 22 | part2(); | ||
| 23 | } | 18 | } |
