1412202026-hpu-1000:A+B Problem

1000: A+B Problem

Time Limit: 1 Sec   Memory Limit: 10 MB
Submit: 142   Solved: 112
[ Submit][ Status][ Web Board]

Description

Calculate a+b

Input

Two integer a,b (0<=a,b<=10)

Output

Output a+b

Sample Input

1 2

Sample Output

3
题目大意
      计算a+b
代码
#include<stdio.h>
int main()
{
	int a,b;
	while(scanf("%d%d",&a,&b)!=EOF)
	{
		printf("%d\n",a+b);
	}
	return 0;
} 


你可能感兴趣的:(1412202026-hpu-1000:A+B Problem)