版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wxd1233/article/details/82430569
A + B ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 786433 Accepted Submission(s): 240415 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
扫描二维码关注公众号,回复:
3090409 查看本文章
![]() Sample Output 2 |
#include<stdio.h>
int main(void)
{
int a,b;
while(~scanf("%d%d",&a,&b))
{
printf("%d\n",a+b);
}
return 0;
}