Skip to content

Commit

Permalink
- Added solutions by Shahed Nooshmand.
Browse files Browse the repository at this point in the history
  • Loading branch information
manwar committed May 10, 2020
1 parent eb90cc6 commit eb1db8b
Show file tree
Hide file tree
Showing 14 changed files with 974 additions and 952 deletions.
1 change: 1 addition & 0 deletions challenge-059/shahed-nooshmand/blog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://rafraichisso.ir/2020/05/09/pwc-59
1 change: 1 addition & 0 deletions challenge-059/shahed-nooshmand/raku/ch-1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
raku -e 'put join " → ", |.grep(* < 3), |.grep(* ≥ 3) given « 1 4 3 2 5 2 »'
1 change: 1 addition & 0 deletions challenge-059/shahed-nooshmand/raku/ch-2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
raku -e '(2..4).combinations(2).map({ (.comb Z≠ sprintf("\%0{.chars}b", @_.min).comb).grep(1) given @_.max.base(2) }).sum.say'
Loading

0 comments on commit eb1db8b

Please sign in to comment.