diff options
| author | robbie-hatley <Robbie.Hatley@gmail.com> | 2024-01-17 20:32:55 -0800 |
|---|---|---|
| committer | robbie-hatley <Robbie.Hatley@gmail.com> | 2024-01-17 20:32:55 -0800 |
| commit | ab943f6d53ecdab74656d5294e4ac1d033ca6aa2 (patch) | |
| tree | 54d8a059dbd61f3f9714bb6b9552e9bbd364ac46 /challenge-252 | |
| parent | 81455cd0c01e629908ea9f1437fac5864669c279 (diff) | |
| download | perlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.tar.gz perlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.tar.bz2 perlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.zip | |
Fixed error in comment in 252-2.
Diffstat (limited to 'challenge-252')
| -rwxr-xr-x | challenge-252/robbie-hatley/perl/ch-2.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
