diff options
| author | Jaime <42359730+bracteatus@users.noreply.github.com> | 2019-06-14 10:52:51 -0600 |
|---|---|---|
| committer | Jaime <42359730+bracteatus@users.noreply.github.com> | 2019-06-14 10:52:51 -0600 |
| commit | 730eb94c9c960b1db8f9602436244c8e7cf6be74 (patch) | |
| tree | f78bedfe2d165eb6bbbf33515cff0f5c486d8e6c /challenge-012/jaime/README | |
| parent | 7addcee613f5da8cd848246b10677326ba011a1c (diff) | |
| download | perlweeklychallenge-club-730eb94c9c960b1db8f9602436244c8e7cf6be74.tar.gz perlweeklychallenge-club-730eb94c9c960b1db8f9602436244c8e7cf6be74.tar.bz2 perlweeklychallenge-club-730eb94c9c960b1db8f9602436244c8e7cf6be74.zip | |
Update README
Diffstat (limited to 'challenge-012/jaime/README')
| -rw-r--r-- | challenge-012/jaime/README | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/challenge-012/jaime/README b/challenge-012/jaime/README index 1f436468fe..6b98f9b732 100644 --- a/challenge-012/jaime/README +++ b/challenge-012/jaime/README @@ -6,6 +6,10 @@ The numbers formed by adding one to the products of the smallest primes are called the Euclid Numbers (see wiki). Write a script that finds the smallest Euclid Number that is not prime. +## Solution + +Calculate the product of prime numbers and check if each successor is a prime. + # Challenge #2 Write a script that finds the common directory path, given a @@ -22,6 +26,17 @@ following paths are supplied. and the path separator is `/`. Your script should return `/a/b` as common directory path. +## Solution + +``` +perl -- ch-2.pl <*delimiter*> <*list of strings*> +``` + +The path *delimiter* is a string like `/`. +The *list of strings* is a string like `/usr/bin:/usr/sbin`. + +The solution is to find the consecutive intersection of all paths. + # Challenge #3 Find out the synonyms of a given word using the Synonyms API. |
