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

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

download

return to the top page