题目链接:https://vjudge.net/problem/HDU-1720
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int a, b;
while(scanf("%x%x", &a, &b) != EOF)
printf("%d\n", a + b);
return 0;
}
题目链接:https://vjudge.net/problem/HDU-1720
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int a, b;
while(scanf("%x%x", &a, &b) != EOF)
printf("%d\n", a + b);
return 0;
}