A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
19
Task/Knuths-algorithm-S/J/knuths-algorithm-s-2.j
Normal file
19
Task/Knuths-algorithm-S/J/knuths-algorithm-s-2.j
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
run=:3 :0
|
||||
nl=. conl 1
|
||||
s3_of_n=. 3 s_of_n_creator
|
||||
r=. {: s3_of_n"0 i.10
|
||||
coerase (conl 1)-.nl
|
||||
r
|
||||
)
|
||||
|
||||
(~.,._1 + #/.~) (i.10),,D=:run"0 i.1e5
|
||||
0 30099
|
||||
1 29973
|
||||
2 29795
|
||||
3 29995
|
||||
4 29996
|
||||
5 30289
|
||||
6 29903
|
||||
7 29993
|
||||
8 30215
|
||||
9 29742
|
||||
Loading…
Add table
Add a link
Reference in a new issue