n;main(i,s){for(;i=scanf("%d%s",&n,s)/2;printf("%d\n",i))for(;n>0;n-=strlen(s))i*=n;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page