Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 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 40119
|
||||
1 40050
|
||||
2 40163
|
||||
3 57996
|
||||
4 42546
|
||||
5 40990
|
||||
6 38680
|
||||
7 36416
|
||||
8 33172
|
||||
9 29868
|
||||
Loading…
Add table
Add a link
Reference in a new issue