Factoradic Decoder by inaniwa

main(n,s)char*s;{for(;gets(s);printf("%d\n",n))for(n=0;*s;n+=*s++%48)n*=index(s,0)-s;}

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

download

return to the top page