Run-length encoding: Difference between revisions

m
update data to correspond to the bugfix
m (update data to correspond to the bugfix)
Line 1,702:
Task example:
 
<lang j> torle =: ({. , #);.1~ 1,2&(~:/\)
<lang j> torle a.i.'WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW'
87 1
87 12
8766 1
87 12
66 3
87 24
8766 1
87 114
u: frle torle a.i.'WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW'
WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW</lang>
6,962

edits