calculation of decimal by inaniwa

a[9];main(t,q){char*p,k;for(;~scanf("%s +%s",a,q=a+50);puts(++p),bzero(a,999))for(p=a+70;(t=*--p+p[index(a,46)-index(q,46)]+k)|p>q;)*p-46&&t?k=t%48,*p=k%10+48,k/=10:0;}

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

download

return to the top page