Problem DescriptionCalculate A + B.
InputEach line will contain two integers A and B. Process to end of file.
OutputFor each case, output A + B in one line.
Sample Input
1 1
Sample Output2# include <stdio.h> int main() { int a, b; while(scanf("%d%d", &a, &b)!=EOF) printf("%d\n", a+b); return 0; }
杭电ACM 1000 a+b
最新推荐文章于 2020-02-24 23:33:02 发布