count down by pooq

n:stdin.get_s(9).to_i;while(n.p>0)n-=math::pow(10,math::floor(math::log(n)/2.4));

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

download

return to the top page