diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-01-23 18:46:19 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-01-27 15:18:49 +0100 |
| commit | 0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc (patch) | |
| tree | 45e7bad548fe1f7cd0ab92c73815c9ce561f1c89 /challenge-201 | |
| parent | 1b357ad56b14d989d10b77d6e558535fcbd70fa8 (diff) | |
| download | perlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.tar.gz perlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.tar.bz2 perlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.zip | |
Solution to task 2
Diffstat (limited to 'challenge-201')
| -rwxr-xr-x | challenge-201/jo-37/perl/ch-2.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/challenge-201/jo-37/perl/ch-2.sh b/challenge-201/jo-37/perl/ch-2.sh new file mode 100755 index 0000000000..ba66afd8c3 --- /dev/null +++ b/challenge-201/jo-37/perl/ch-2.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Find the number of partitions +perl -MMath::Prime::Util=:all -E 'say partitions shift' $1 |
