commit 5ace50df951bb672c4388992a442a7a66da24630 parent f225e16c8183a8414a349b0ea5a7644110155f80 Author: Samir Parikh <noreply@samirparikh.com> Date: Tue, 21 Dec 2021 17:10:49 +0000 update comment Diffstat:
M | day09.pl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/day09.pl b/day09.pl @@ -69,6 +69,6 @@ foreach my $row (0 .. $rows - 2) { # don't care about last row that we added } say $risk_level; -# plain `sort` routine just sorts by strings in code point order +# plain `sort` routine just sorts strings by code point order @basin_sizes = sort { $a <=> $b} @basin_sizes; say $basin_sizes[-3] * $basin_sizes[-2] * $basin_sizes[-1];