diff options
119 files changed, 8818 insertions, 2366 deletions
@@ -25,12 +25,13 @@ Let us assume you want to submit solutions for **Challenge 002** and your Github 3. Create a new branch for the solution ``` + $ cd perlweeklychallenge-club $ git checkout -b new-branch ``` 3. Go to the **Challenge 002** folder. ``` - $ cd perlweeklychallenge-club/challenge-002 + $ cd challenge-002 ``` 4. If you find a folder with your name in the current folder then skip to next step otherwise create a new folder. diff --git a/logo-design/cheok-yin-fung/README.md b/challenge-122/cheok-yin-fung/logo-design/README.md index 892ba2bcd1..892ba2bcd1 100644 --- a/logo-design/cheok-yin-fung/README.md +++ b/challenge-122/cheok-yin-fung/logo-design/README.md diff --git a/logo-design/cheok-yin-fung/logo b/challenge-122/cheok-yin-fung/logo-design/logo index c1919407e0..c1919407e0 100644 --- a/logo-design/cheok-yin-fung/logo +++ b/challenge-122/cheok-yin-fung/logo-design/logo diff --git a/challenge-124/laurent-rosenfeld/go/ch-1.go b/challenge-124/laurent-rosenfeld/go/ch-1.go new file mode 100644 index 0000000000..63ea60a848 --- /dev/null +++ b/challenge-124/laurent-rosenfeld/go/ch-1.go @@ -0,0 +1,12 @@ +package main +import "fmt" + +func main() { + lines := [5]string{" ^^^^^", " ^ ^", + " ^ ^", "^ ^", " ^"} + indexes := [18]int{0, 1, 2, 3, 3, 3, 3, 3, 3, 2, 1, 0, 4, 4, 4, 0, 4, 4} + + for i := 0; i < 18; i++ { + fmt.Printf("%s\n", lines[indexes[i]]) + } +} diff --git a/challenge-124/laurent-rosenfeld/julia/ch-1.julia b/challenge-124/laurent-rosenfeld/julia/ch-1.julia new file mode 100644 index 0000000000..6e89a46fd4 --- /dev/null +++ b/challenge-124/laurent-rosenfeld/julia/ch-1.julia @@ -0,0 +1,4 @@ +lines = [" ♀♀♀♀♀", " ♀ ♀", " ♀ ♀", "♀ ♀", " ♀"] +for i = [1, 2, 3, 4, 4, 4, 4, 4, 3, 2, 1, 5, 5, 5, 1, 5, 5] + println( lines[i] ) +end diff --git a/challenge-124/laurent-rosenfeld/nim/ch-1.nim b/challenge-124/laurent-rosenfeld/nim/ch-1.nim new file mode 100644 index 0000000000..be79490db0 --- /dev/null +++ b/challenge-124/laurent-rosenfeld/nim/ch-1.nim @@ -0,0 +1,4 @@ +let lines = [" #####", " # #", " # #", "# #", " #"] + +for i in [ 0, 1, 2, 3, 3, 3, 3, 3, 3, 2, 1, 0, 4, 4, 4, 0, 4, 4 ]: + echo lines[i] diff --git a/challenge-125/abigail/README.md b/challenge-125/abigail/README.md index c116d92523..677f80fccf 100644 --- a/challenge-125/abigail/README.md +++ b/challenge-125/abigail/README.md @@ -1,95 +1,93 @@ # Solutions by Abigail -## [Happy Women Day][task1] +## [Pythagorean Triples][task1] -> Write a script to print the Venus Symbol, international gender symbol -> for women. Please feel free to use any character. +> You are given a positive integer `$N`. +> +> Write a script to print all Pythagorean Triples containing $N as +> a member. Print `-1` if it can't be a member of any. +> +> Triples with the same set of elements are considered the same, +> i.e. if your script has already printed `(3, 4, 5)`, `(4, 3, 5)` should +> not be printed. +> +> > The fam |
