HDU水题1090 ( A+B for Input-Output Practice (II) )

 

HDU1090

http://acm.hdu.edu.cn/showproblem.php?pid=1090

c++代码:

#include <iostream>
using namespace std;
int
main(int argc, char *argv[])
{

    int
T,a,b;
    cin>>T;
        while
(T--){
        cin>>a>>b;
        cout<<a+b<<endl;
            }

    return
0;
}

posted @ 2013-03-26 20:00  90后程序媛  阅读(200)  评论(0编辑  收藏  举报