June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1,11 @@
|
|||
N = %w(Baker Cooper Fletcher Miller Smith)
|
||||
b,c,f,m,s = N
|
||||
|
||||
N.permutation.map{|a| a.join " "}.
|
||||
grep(/(?=.*#{b}.)
|
||||
(?=.+#{c})
|
||||
(?=.+#{f}.)
|
||||
(?=.*#{c}.*#{m})
|
||||
(?=.*(#{f}..+#{s}|#{s}..+#{f}))
|
||||
(?=.*(#{f}..+#{c}|#{c}..+#{f}))/x).
|
||||
first
|
||||
Loading…
Add table
Add a link
Reference in a new issue