-
求整数a,b的和。
-
测试案例有多行,每行为a,b的值。
-
输出多行,对应a+b的结果。
-
1 2 4 5 6 9
-
3 9 15
-
题目描述:
-
输入:
-
输出:
-
样例输入:
-
样例输出:
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int a, b;
while(scanf("%d %d",&a,&b)!=EOF)
{
cout << a+b << endl;
}
}