Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Best-shuffle/J/best-shuffle-1.j
Normal file
9
Task/Best-shuffle/J/best-shuffle-1.j
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
bestShuf =: verb define
|
||||
yy=. <@({~ ?~@#)@I.@= y
|
||||
y C.~ (;yy) </.~ (i.#y) |~ >./#@> yy
|
||||
)
|
||||
|
||||
fmtBest=:3 :0
|
||||
b=. bestShuf y
|
||||
y,', ',b,' (',')',~":+/b=y
|
||||
)
|
||||
7
Task/Best-shuffle/J/best-shuffle-2.j
Normal file
7
Task/Best-shuffle/J/best-shuffle-2.j
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fmtBest&>;:'abracadabra seesaw elk grrrrrr up a'
|
||||
abracadabra, bdacararaab (0)
|
||||
seesaw, eawess (0)
|
||||
elk, lke (0)
|
||||
grrrrrr, rrrrrrg (5)
|
||||
up, pu (0)
|
||||
a, a (1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue