首页 > 代码库 > HDU1720 A+B Coming (16进制加法)

HDU1720 A+B Coming (16进制加法)

16进制加法

1 #include<stdio.h>
2 int main()
3 {
4     int a,b;
5     while(scanf("%x %x",&a,&b)!=EOF)
6     {
7         printf("%d\n",a+b);                
8     }    
9 }