calculation of decimal by 51b

s[99];char*q,*r;m;main(){for(;bzero(s,200),~scanf("%s +%s",s,q=s+25);puts(r+1))for(r=q-index(s,46)+index(q,46);*--q|*--r|m?*q-46?m+=*q%16+*r%16,*r=m%10+48,m/=10,1:1:q>s;);}

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

download

return to the top page