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.
一般的错误代码会是这样的:
#include<stdio.h>
int main()
{
int a,n;
scanf("%d",&a);
scanf("%d",&b);
printf("%d\n",a+b);
return 0;
}
按照题目要求的正确代码: