permutation date by nn

f(n,i,v,u){for(;n++%100u<"\x09\x1d\x17;;"[i];u-1023||printf("0%d\n",n))f(100*n,i+1,u=1<<n%10|1<<n/10%10|v);}main(){f(0,0.);}

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

download

return to the top page