Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Run-length-encoding/APL/run-length-encoding.apl
Normal file
4
Task/Run-length-encoding/APL/run-length-encoding.apl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
∇ ret←RLL rll;count
|
||||
[1] count←∣2-/((1,(2≠/rll),1)×⍳1+⍴rll)~0
|
||||
[2] ret←(⍕count,¨(1,2≠/rll)/rll)~' '
|
||||
∇
|
||||
Loading…
Add table
Add a link
Reference in a new issue