#include <iostream>
using namespace std;
int main()
{
long long a,b;
while(cin>>hex>>a>>b)
{
if((a+b)<0)
cout<<"-"<<hex<<uppercase<<-(a+b)<<endl;
else
cout<<hex<<uppercase<<(a+b)<<endl;
}
return 0;
}
hdu——2057——A+B Again
最新推荐文章于 2020-05-03 19:53:38 发布