mirror of
https://github.com/parnic/advent-of-code-2023.git
synced 2025-06-17 00:51:52 -05:00
Cleanup, add flavor texts
This commit is contained in:
@ -95,7 +95,7 @@ internal class Day21 : Day
|
||||
}
|
||||
|
||||
long numVisited = reachableNow.Count;
|
||||
return $"<+white>{numVisited}";
|
||||
return $"Garden plots reachable in 24 steps: <+white>{numVisited}";
|
||||
}
|
||||
|
||||
internal override string Part2()
|
||||
@ -128,6 +128,6 @@ internal class Day21 : Day
|
||||
cornerTop + cornerRight + cornerBottom + cornerLeft +
|
||||
(gridWidth + 1) * (smallTopRight + smallTopLeft + smallBottomRight + smallBottomLeft) +
|
||||
gridWidth * (largeTopRight + largeTopLeft + largeBottomRight + largeBottomLeft);
|
||||
return $"<+white>{numVisited}";
|
||||
return $"Garden plots reachable in {steps:N0} steps: <+white>{numVisited}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user