mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
12 lines
214 B
C++
12 lines
214 B
C++
|
#include<stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
__int64 m,n;
|
||
|
while(~scanf("%I64X%I64X",&m,&n))
|
||
|
{
|
||
|
m=m+n;
|
||
|
if(m<0){m=-m;printf("-%I64X\n",m);}
|
||
|
else printf("%I64X\n",m);
|
||
|
}
|
||
|
}
|