#include "aoc.h" #include namespace aoc2022 { std::pair day12(line_view file) { int row{0}; heightmap hm; per_line(file, [&hm, &row](line_view lv){ hm.load(row++, lv); return true; }); // hm.print(); std::vector steps; hm.find(hm.end, steps); for(auto& i : steps) { printf("%d\n", i); } return {0, 0}; } }