HD oj
A+B problem
Problem Description
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
Source Code
#include <stdio.h>
int main()
{
int a, b;
while(scanf("%d%d", &a, &b) == 2)
printf("%d\n", a + b);
return 0;
}
来源:CSDN
作者:空荡荡的房间里学习
链接:https://blog.csdn.net/weixin_46179900/article/details/103981225