calculation of decimal by inaniwa

char*p;a[];k;main(t){for(;~scanf("%s +%s",a+9,a+50);puts(++p),bzero(a,999))for(p=a+30;(t=*--p+p[index(a+50,46)-index(a+9,46)]+k)|p>a+9;)*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