update 22

This commit is contained in:
2024-09-02 15:20:25 -07:00
parent 9aa821376c
commit 9e6223f886
4 changed files with 300 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
namespace aocpp {
auto Draw(std::ostream & out, std::map<Coord, std::int64_t> image) -> void {
auto Draw(std::ostream & out, std::map<Coord, std::int64_t> const& image) -> void {
std::int64_t minX = 0, maxX = 0, minY = 0, maxY = 0;
for (auto&& [k, _] : image) {
auto [x,y] = k;