diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-12-03 17:43:37 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-12-03 17:45:18 +0100 |
| commit | 73e8b8099a9bdf0342e02ee37381748655d6bbf7 (patch) | |
| tree | 7190d62315eb6387876488b0ee7a388102c4f414 | |
| parent | 975d2c0891841898a98ad788281ab0de5c969af1 (diff) | |
| download | perlweeklychallenge-club-73e8b8099a9bdf0342e02ee37381748655d6bbf7.tar.gz perlweeklychallenge-club-73e8b8099a9bdf0342e02ee37381748655d6bbf7.tar.bz2 perlweeklychallenge-club-73e8b8099a9bdf0342e02ee37381748655d6bbf7.zip | |
Solution to task 2 in O(N)
| -rwxr-xr-x | challenge-245/jo-37/perl/ch-2.pl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/challenge-245/jo-37/perl/ch-2.pl b/challenge-245/jo-37/perl/ch-2.pl index 42372a8601..a698a9f578 100755 --- a/challenge-245/jo-37/perl/ch-2.pl +++ b/challenge-245/jo-37/perl/ch-2.pl @@ -72,8 +72,6 @@ sub run_tests { SKIP: { skip "tests" unless $tests; - say "@{[dsort(qw(1 2 3 4 3 2 3 5 6 7 7 7 1 1 1))]}"; - is largest_of_three(6, 4, 3), 63, 'single 1 mod 3'; is largest_of_three(6, 5, 3), 63, 'single 2 mod 3'; is largest_of_three(6, 4, 4, 3), 63, 'double 1 mod 3'; |
