http://acm.hdu.edu.cn/showproblem.php?pid=1720
16进制输入,10进制输出
#include <stdio.h>#include <string.h> #include <stdlib.h>#include <math.h>int main() { int a,b; while(~scanf("%x%x",&a,&b)) printf("%d\n",a+b); return 0; }