Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
1
Task/Combinations/J/combinations-10.j
Normal file
1
Task/Combinations/J/combinations-10.j
Normal file
|
|
@ -0,0 +1 @@
|
|||
combb=: (#~ ((-:/:~)>/:~-:\:~)"1)@(# #: [: i. ^~)
|
||||
|
|
@ -1,7 +1 @@
|
|||
combr=: dyad define
|
||||
if.(x=#y) +. x=1 do.
|
||||
y
|
||||
else.
|
||||
(({.y) ,. (x-1) combr (}.y)) , (x combr }.y)
|
||||
end.
|
||||
)
|
||||
combr=: ((0,.$:&.<:),1+($:<:))` ([:i.<:,[) @.(>:+.0=[)M.
|
||||
|
|
|
|||
|
|
@ -1 +1,7 @@
|
|||
combb=: (#~ ((-:/:~)>/:~-:\:~)"1)@(# #: [: i. ^~)
|
||||
combr1=: dyad define
|
||||
if.(x=#y) +. x=1 do.
|
||||
y
|
||||
else.
|
||||
(({.y) ,. (x-1) combr (}.y)) , (x combr }.y)
|
||||
end.
|
||||
)
|
||||
|
|
|
|||
1
Task/Combinations/J/combinations-8.j
Normal file
1
Task/Combinations/J/combinations-8.j
Normal file
|
|
@ -0,0 +1 @@
|
|||
combr1=: (({.@],.<:@($:}.)),($:}.))` ] @.((= #)+.1=[)
|
||||
1
Task/Combinations/J/combinations-9.j
Normal file
1
Task/Combinations/J/combinations-9.j
Normal file
|
|
@ -0,0 +1 @@
|
|||
comb3=: ((= +/"1) |.@:I.@# ]) #:@i.@(2&^)
|
||||
Loading…
Add table
Add a link
Reference in a new issue