count up digits by eban

gets
i=0
$_[i]<?1?i+=1:$_[i]-=1while($*.unshift$_.dup;!/^0+$/)
puts$*|[]

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

download

return to the top page