Count of circles in a number aka 2581 by kaki

s/8/00/g
y/069/---/
s/\w//g
s/-\{10\}/@/g
s/$/0/
ta
:
y/012345678/123456789/
:a
s/-//
t
s/@@/2/
s/@/1/

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

download

return to the top page