aboutsummaryrefslogtreecommitdiff
path: root/challenge-059/shahed-nooshmand/raku/ch-2.sh
blob: 8ad73fd703ecfa8a942125a5c9e920f58df439f6 (plain)
1
raku -e '(2..4).combinations(2).map({ (.comb Z≠ sprintf("\%0{.chars}b", @_.min).comb).grep(1) given @_.max.base(2) }).sum.say'