Factoradic Encoder by *yuko*

integer*8n;1 read*,k;n=0;do j=1,10;k=k/j;n=n+mod(k,j+1)*10_8**j;enddo;print'(i0)',n;goto1;end

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

download

return to the top page