Code Festival D Compress numbers by mitchs (tails (%20))

:
s/[1-9]/&-/g
y/123456789/012345678/
t
s/^\(.\)\(.* \)\1\|0\(.* \)\|-\{10\}/\2\3/
t
/\S/cNO
cYES

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page