Multifactorials by teebee

enum M{M;System z;int c,d,i,n;{try{for(;(c=z.in.read())>0;d=c>33?(i=10*i+c-48)*0:d+1)if(c<11){for(n=i;i>d;)n*=i-=d;z.out.println(n);i=0;}}catch(Exception e){}}}

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

download

return to the top page