A + B Problem
Calculate A + B.
Input
Each line will contain two integers A and B. Process to end of file.
Output
For each case, output A + B in one line.
Sample Input
1 1
Sample Output
2
问题描述:……
程序说明:……
AC代码
#include
using namespace std;
int main()
{
int a, b;
while (cin >> a >> b)
{
cout << a + b << endl;
}
}
第四题
最新推荐文章于 2020-12-04 17:36:17 发布