Cleaning
This commit is contained in:
parent
c6d6b73b9c
commit
f840cb68bb
1 changed files with 0 additions and 4 deletions
|
|
@ -13,8 +13,6 @@ pub fn main() !void {
|
||||||
var total2: u64 = 0;
|
var total2: u64 = 0;
|
||||||
|
|
||||||
while (it.next()) |line| {
|
while (it.next()) |line| {
|
||||||
std.debug.print("{s}\n", .{line});
|
|
||||||
|
|
||||||
if (!std.ascii.isAlphanumeric(line[0])) {
|
if (!std.ascii.isAlphanumeric(line[0])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
@ -84,8 +82,6 @@ pub fn main() !void {
|
||||||
}
|
}
|
||||||
|
|
||||||
const power: u64 = min_red * min_green * min_blue;
|
const power: u64 = min_red * min_green * min_blue;
|
||||||
std.debug.print("end of game: {d} {d} {d}\n", .{ min_red, min_green, min_blue });
|
|
||||||
std.debug.print("power: {d} {d}\n", .{ game, power });
|
|
||||||
total2 += power;
|
total2 += power;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue