diff options
| author | Luis Mochan <mochan@fis.unam.mx> | 2023-12-03 16:46:10 -0600 |
|---|---|---|
| committer | Luis Mochan <mochan@fis.unam.mx> | 2023-12-03 16:46:10 -0600 |
| commit | 725bd5ff4373b83bc040e582f000773a33b92d78 (patch) | |
| tree | 07c9f1e0351c3ec2514290ee1c1effb22f483335 | |
| parent | 5d7e82ad325838bba7d9c75a2c7e8d764162733b (diff) | |
| download | perlweeklychallenge-club-725bd5ff4373b83bc040e582f000773a33b92d78.tar.gz perlweeklychallenge-club-725bd5ff4373b83bc040e582f000773a33b92d78.tar.bz2 perlweeklychallenge-club-725bd5ff4373b83bc040e582f000773a33b92d78.zip | |
Fix typo
| -rwxr-xr-x | challenge-245/wlmb/perl/ch-2.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-245/wlmb/perl/ch-2.pl b/challenge-245/wlmb/perl/ch-2.pl index 2fed8c0f94..8ee193d592 100755 --- a/challenge-245/wlmb/perl/ch-2.pl +++ b/challenge-245/wlmb/perl/ch-2.pl @@ -28,7 +28,7 @@ my @candidates; # if neccesary to remove numbers if($total==1){ # remove the smallest number that leaves a residue one push @candidates, [$one[0]] if(@one); - # remove the two smallest numbers that leaves a residue one + # remove the two smallest numbers that leaves a residue two push @candidates, [@two[1,0]] if(@two>=2); } if($total==2){ |
