diff options
| author | Fung Cheok Yin <61836418+E7-87-83@users.noreply.github.com> | 2020-08-14 10:56:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-14 10:56:27 +0800 |
| commit | 5986f42cc32c78306bbbc7ab44f517d3089208cb (patch) | |
| tree | 7492dfcce132f282167ff9328a7b3455ecae1c97 | |
| parent | 1aceadfd4958896cdd752dbd933e28b4f7459ef9 (diff) | |
| download | perlweeklychallenge-club-5986f42cc32c78306bbbc7ab44f517d3089208cb.tar.gz perlweeklychallenge-club-5986f42cc32c78306bbbc7ab44f517d3089208cb.tar.bz2 perlweeklychallenge-club-5986f42cc32c78306bbbc7ab44f517d3089208cb.zip | |
Update ch-2.pl
add comments
| -rw-r--r-- | challenge-073/cheok-yin-fung/perl/ch-2.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/challenge-073/cheok-yin-fung/perl/ch-2.pl b/challenge-073/cheok-yin-fung/perl/ch-2.pl index af762a2b9f..d814efcaf0 100644 --- a/challenge-073/cheok-yin-fung/perl/ch-2.pl +++ b/challenge-073/cheok-yin-fung/perl/ch-2.pl @@ -7,6 +7,9 @@ # left of each corresponding index. # If none found then use 0. # Usage: ch-2.pl @A +# for input: (2, 2, 2, 3, 2, 4), should it be (0, 0, 0, 2, 0, 2) or (0, 2, 2, 2, 2, 2)...? +# Or, the task statement should be modified as: ... smallest and smaller element to the left of ... + use strict; use warnings; |
