Tanky WooRSS

HDOJ 1720 A+B Coming

08 Aug 2010
这篇博客是从旧博客 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;
}