Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
[ stack ] is seqbits ( --> s )
|
||||
|
||||
[ bit
|
||||
seqbits take |
|
||||
seqbits put ] is seqadd ( n --> )
|
||||
|
||||
[ bit
|
||||
seqbits share & not ] is notinseq ( n --> b )
|
||||
|
||||
[ temp put
|
||||
' [ 1 2 3 ]
|
||||
7 seqbits put
|
||||
4
|
||||
[ dip
|
||||
[ dup -1 peek
|
||||
over -2 peek ]
|
||||
dup dip
|
||||
[ tuck gcd 1 !=
|
||||
unrot gcd 1 =
|
||||
and ]
|
||||
swap if
|
||||
[ dup dip join
|
||||
seqadd
|
||||
3 ]
|
||||
[ 1+
|
||||
dup notinseq until ]
|
||||
over size temp share
|
||||
< not until ]
|
||||
drop
|
||||
seqbits release
|
||||
temp take split drop ] is yellowstones ( n --> [ )
|
||||
|
||||
30 yellowstones echo
|
||||
Loading…
Add table
Add a link
Reference in a new issue