Factoradic Counter by pooq

int i,j,k,n;for(;i<=1e3;++i,write(n))for(k=i,n=0,j=0;++j<8;n+=10^j*(k%(j+1)))k=(int)(k/j);

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

download

return to the top page