标签:round turn author with ble clu ios mono hdu
///@link http://acm.hdu.edu.cn/showproblem.php?pid=2057
///@author Sycamore
///@date Aug 17
#include<bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
long long a,b,ans;
while(cin>>hex>>a>>b)
{
ans=a+b;
if(ans>=0)
cout<<uppercase<<hex<<ans<<‘\n‘;
else cout<<uppercase<<hex<<‘-‘<<-ans<<‘\n‘;
}
return 0;
}
标签:round turn author with ble clu ios mono hdu
原文地址:http://www.cnblogs.com/zjnu/p/7380319.html