点击打开链接:http://acm.hdu.edu.cn/showproblem.php?pid=2057
三目运算符的应用!!!是看大神的代码学的!!!!
#include<stdio.h>
int main()
{
__int64 n,m;
while(scanf("%I64X%I64X",&n,&m)!=EOF)
{
printf(n+m>=0?"%I64X\n":"-%I64X\n",n+m>0?n+m:-n-m);
}
return 0;
}