commit f7c31c6833f5860ba7cb74b1fa8dc7253182cfa0
parent 3b57750fcdb06b3bde6652afa176cbdeb340f15e
Author: Samir Parikh <noreply@samirparikh.com>
Date: Mon, 7 Nov 2022 22:24:38 +0000
cleanup code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/day14/day14.pl b/day14/day14.pl
@@ -44,7 +44,7 @@ my @distances;
my @points;
foreach my $reindeer ( sort keys %reindeer ) {
- push @distances => $reindeer{ $reindeer }{ position };
+ push @distances => $reindeer{ $reindeer }{ position };
push @points => $reindeer{ $reindeer }{ points };
}
say "part 1: ", max @distances;