Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
⎕IO←0
|
||||
d←{(1↓⍵)-¯1↓⍵}
|
||||
f←{m←(0≠d ⍵),1 ⋄ ,(d ¯1,m/⍳⍴⍵),[.5](m/⍵)}
|
||||
{(f⍣⍵) ,1}¨⍳10
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
R←LNS V;T
|
||||
R←0⍴0 ⍝ initiate empty reply
|
||||
LOOP:T←↑⍴↑(=\V)⊂V←,V ⍝ t is the length of the 1st digit's run
|
||||
R←R,T,↑V ⍝ append t and the 1st digit
|
||||
→(0≠↑⍴V←T↓V)/LOOP ⍝ drop t digits and iterate
|
||||
Loading…
Add table
Add a link
Reference in a new issue