G
Run length Encoding And Decoding
Example input: 123334455555AAA
Output for above input: 1\12\13\34\25\5A\3
Example input: 123334455555AAA
Output for above input: 1\12\13\34\25\5A\3
lol...
No, I need 50$ for that please.
Use the atoi() function.
LOOOOOOOOOOOOOOOOOOOOL
Total size: 22 Bytes
L[B]O[/B][B]\20[/B]L
Comment: [B]O\20[/B] means O repeated 20 times. A decoder would look for the \ and the value after it and while expanding it, it'd print it that many times to get the output back in the actual form.
Total size: 6 Bytes