这篇博客是从旧博客 WordPress 迁移过来,内容可能存在转换异常。
题目地址: http://acm.hdu.edu.cn/showproblem.php?pid=1720
汗,第一次写这么段的代码~~~
#include
using namespace std;
int a, b;
int main()
{
while(cin >> hex >> a >> b)
cout << a+b << endl;
return 0;
}
题目地址: http://acm.hdu.edu.cn/showproblem.php?pid=1720
汗,第一次写这么段的代码~~~
#include
using namespace std;
int a, b;
int main()
{
while(cin >> hex >> a >> b)
cout << a+b << endl;
return 0;
}