A + B Problem,hdu-1000
2015-03-23 19:14
267 查看
A + B Problem
Problem DescriptionCalculate 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
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a,b;
while(scanf("%d%d",&a,&b)!=EOF)//直到遇到EOF才停止输入
printf("%d\n",a+b);//输出a+b
return 0;
}
相关文章推荐
- HDU 1000 A + B Problem
- [HDU]1000(A+B Problem)
- HDU 1000 A + B Problem
- hdu 1000 A + B Problem 的解题报告
- HDU-1000-A + B Problem
- hdu 1000 A + B Problem
- HDU 1000 A + B Problem
- HDU1000:A + B Problem
- HDU 1000 A + B Problem
- hdu1000 A + B Problem
- hdu 1000 A + B Problem(Java)
- HDU 1000 A + B Problem
- hdu 1000 A + B Problem
- hdu 1000(A + B Problem)
- [hdu-1000] A + B Problem
- HDU 1000 A + B Problem
- hdu 1000 A + B Problem 简单的输入输出(C、C++)
- HDU 1000 A + B Problem
- hdu1000 A + B Problem(C语言)
- HDU 1000 A + B Problem