Factoradic Encoder by nn

System.in.eachLine{int n=it as int;for(o=m=0;n;n/=m)o=n%++m+o+'';println o}

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

download

return to the top page