Problem Title 1 Pro. ID 1000
A+B Problem
#include<stdio.h>
int main()
{
int a,b,c,i=0,j;
while(scanf("%d%d",&a,&b)!=EOF){
c=a+b;
printf("%d\n",c);
}
return 0;
}
结束时先Ctrl + Z ,然后回车即可结束程序。
Problem Title 1 Pro. ID 1000
A+B Problem
#include<stdio.h>
int main()
{
int a,b,c,i=0,j;
while(scanf("%d%d",&a,&b)!=EOF){
c=a+b;
printf("%d\n",c);
}
return 0;
}
结束时先Ctrl + Z ,然后回车即可结束程序。