Day5
This commit is contained in:
parent
840f236c60
commit
43448aaeb6
9 changed files with 1434 additions and 89 deletions
|
|
@ -19,7 +19,6 @@ struct Diagram {
|
|||
auto grid() { return GridView(data.data(), height, width); }
|
||||
};
|
||||
|
||||
namespace {
|
||||
auto printMap(Diagram &diagram) {
|
||||
auto grid = diagram.grid();
|
||||
for (auto row = 0UZ; row != grid.extent(0); row++) {
|
||||
|
|
@ -137,7 +136,7 @@ auto moveMoveablePaper(Diagram &diagram) -> long {
|
|||
|
||||
return totalPaperRemoved;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
auto main() -> int {
|
||||
auto testCase = parseMap("test_input");
|
||||
if (testCase) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue