Multifactorials by inaniwa

s;main(n,k){for(;~scanf("%d%s",&n,k);printf("%d\n",s))for(s=1;n>0;n-=strlen(k))s*=n;}

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

download

return to the top page