Subfactorial FIXED by nn

char*p,b[];main(i,c){for(b[99]=1;i--+50;puts(p+1))for(c=1+i%2*2,p=b+99;*p|c;c/=10)c-=*p%48*i,*p--=c%10+48;}

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

download

return to the top page