HDU/2057/main.c

13 lines
184 B
C
Raw Permalink Normal View History

2020-08-31 16:48:58 +00:00
#include <stdio.h>
int main(void){
long long a,b;
while(scanf("%llx %llx",&a,&b) == 2){
if (a+b >= 0)
printf("%llX\n",a+b);
else
printf("-%llX\n",-(a+b));
}
return 0;
}