aboutsummaryrefslogtreecommitdiff
path: root/challenge-201
diff options
context:
space:
mode:
authorJörg Sommrey <28217714+jo-37@users.noreply.github.com>2023-01-23 18:46:19 +0100
committerJörg Sommrey <28217714+jo-37@users.noreply.github.com>2023-01-27 15:18:49 +0100
commit0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc (patch)
tree45e7bad548fe1f7cd0ab92c73815c9ce561f1c89 /challenge-201
parent1b357ad56b14d989d10b77d6e558535fcbd70fa8 (diff)
downloadperlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.tar.gz
perlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.tar.bz2
perlweeklychallenge-club-0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc.zip
Solution to task 2
Diffstat (limited to 'challenge-201')
-rwxr-xr-xchallenge-201/jo-37/perl/ch-2.sh4
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