#include <iostream>
#include <stdio.h>
using namespace std;
int
main()
{
int a,b;
while(scanf("%x%x", &a, &b)!=EOF)
printf("%d\n", a+b);
return 0;
}
转载于:https://my.oschina.net/dianpaopao/blog/86992
#include <iostream>
#include <stdio.h>
using namespace std;
int
main()
{
int a,b;
while(scanf("%x%x", &a, &b)!=EOF)
printf("%d\n", a+b);
return 0;
}
转载于:https://my.oschina.net/dianpaopao/blog/86992