Two coins by tails

:1
s/[1-9]/&-/g
y/123456789/012345678/
s/-0/9-/
s/^\(\w*\)-/\1_/
t1
s/_ 0*-/ /
:
s/_\(.* \(.*\)\)/\2\1/
s/0-\{10\}/-0/
s/^-/0-/
t
s/0 -*/ 9/
t
s/- -*//
s/0-*/&9876543210 /g
s/0.\{9\}\(.\)\w* /\1/g
s/^0//

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

download

return to the top page