From 8c6d8d4a2999b594a98b517bdbfaf13aca5abebd Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Fri, 4 Nov 2022 11:37:32 -0700 Subject: [PATCH] white --- day11.cpp | 2 +- day15.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/day11.cpp b/day11.cpp index 9caf0f2..fc0dae9 100644 --- a/day11.cpp +++ b/day11.cpp @@ -12,7 +12,7 @@ using Coord = std::pair; auto Compute(Machine machine, ValueType start) -> std::map { - + Coord here {0,0}; std::map paint {{here,start}}; ValueType dx {0}; diff --git a/day15.cpp b/day15.cpp index d6bcdb1..1c2b344 100644 --- a/day15.cpp +++ b/day15.cpp @@ -21,7 +21,7 @@ auto Compute(Machine machine) -> std::pair { std::vector layer {{{0,0}, std::move(machine)}}; std::vector next_layer; - + auto action = [&](Machine m, ValueType cmd, Coord coord) { if (!world.contains(coord)) { std::get(Step(m)).pos = cmd; @@ -56,7 +56,7 @@ auto Compute(Machine machine) -> std::pair { part1++; } - + loop2: int part2 = 0; while (!layer.empty()) {