Factoradic Decoder by aglias

long long k,t,r;main(i){for(;~scanf("%lld\n",&t);r=!printf(""-5,r))for(k=i=1;t/=10;k*=++i)r+=t%10*k;}

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

download

return to the top page