From 5986f42cc32c78306bbbc7ab44f517d3089208cb Mon Sep 17 00:00:00 2001 From: Fung Cheok Yin <61836418+E7-87-83@users.noreply.github.com> Date: Fri, 14 Aug 2020 10:56:27 +0800 Subject: Update ch-2.pl add comments --- challenge-073/cheok-yin-fung/perl/ch-2.pl | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit