1426: 基础输入输出III:A+B
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:4
Solved:3
Description
此题为练手用题,用于大家熟悉最为基础的输入输出操作,请大家计算一下a+b的值。
Input
输入为每行两个数:a,b,以EOF结束。
Output
输出所有a+b的值
Sample Input Copy
1 2
3 4
5 6
Sample Output Copy
3
7
11
HINT
C语言版:
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d%d",&a,&b) != EOF)
{
printf("%d\n",a+b);
}
}