comeing专题

hdu_1720 A+B Comeing

原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1720 分析:用%x,十六进制输入,%d 十进制输出即可。 代码: #include<stdio.h> int main() {     int a,b;     while(~scanf("%x%x",&a,&b))     {         printf("%d\n",a+b);