Multiply long version by Purika

t;main(n,s){for(;gets(s);t=!printf("%d\n",n))for(n=1;t=strtok(t?0:s,", ");)n*=atoi(t);}

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

download

return to the top page