题目描述
For most Acmer , A+B is the first question they solved . Now , we will solve it again. There is a bit difference that what we calculate is HEX number
输入
There are several test cases,every test case have two HEX number a and b. End with EOF.
输出
Please output HEX a+b , please ensure all is lower letters
样例输入
9 1
abc 1
样例输出
a
abd
提示
来源
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%x %x",&a,&b)!=EOF)
printf("%x\n",a+b);
}