From ab943f6d53ecdab74656d5294e4ac1d033ca6aa2 Mon Sep 17 00:00:00 2001 From: robbie-hatley Date: Wed, 17 Jan 2024 20:32:55 -0800 Subject: Fixed error in comment in 252-2. --- challenge-252/robbie-hatley/perl/ch-2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'challenge-252') diff --git a/challenge-252/robbie-hatley/perl/ch-2.pl b/challenge-252/robbie-hatley/perl/ch-2.pl index 4edb5e4b68..eb4bb4dfa3 100755 --- a/challenge-252/robbie-hatley/perl/ch-2.pl +++ b/challenge-252/robbie-hatley/perl/ch-2.pl @@ -77,7 +77,7 @@ sub is_pos_int ($x) { return $x =~ m/^[1-9]\d*$/; } -# Return array of unique ints adding to $n: +# Return array of $n unique ints adding to 0: sub usz ($n) { my @a = (); push @a, -int($n/2)..-1; -- cgit