Anonymous user
Run-length encoding: Difference between revisions
m
added link to look-and-say sequence; indeed, one could implement the encoding just through that!
((g)awk) |
m (added link to look-and-say sequence; indeed, one could implement the encoding just through that!) |
||
Line 9:
: Input: <code>WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW</code>
: Output: <code>12W1B12W3B24W1B14W</code>
See also the [[Look-and-say sequence]].
=={{header|AWK}}==
|