advent-of-code-2021/solve.zig
2021-12-18 16:27:55 +01:00

19 lines
433 B
Zig

const std = @import("std");
const print = std.debug.print;
pub fn main() !void {
var alloc = std.heap.GeneralPurposeAllocator(.{}){};
defer std.debug.assert(!alloc.deinit());
var gpa = &alloc.allocator;
const stdin = std.io.getStdIn().reader();
var res: u32 = 0;
var tmp: [256]u8 = undefined;
while (try stdin.readUntilDelimiterOrEof(&tmp, '\n')) |line| {
}
print("{}\n", .{res});
}