Multifactorials by hakusui

f={n<1?1:n*f(n-=k)};System.in.eachLine{n=it-~/!+/as int;println f(k=(it-n).size())}

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

download

return to the top page