HDU 1000

题目描述

在这里插入图片描述

解题思路

注意含多组数据

代码

#include<iostream>
using namespace std;

int main()
{
 int a,b;
 while(cin >> a >> b)    //连续输入输出
    cout << a+b << endl;
 return 0;
}
posted @ 2021-05-27 14:26  codekin  阅读(35)  评论(0)    收藏  举报
Document