a;f(d,b){a=d?f(--d/b,b)*160/b+d%b+1:d;}main(b){for(;~scanf("%X%X",&a,&b);)printf("%X\n",f(f(a,16)+f(b),10));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page