一直presentation不对 ,看了别人的解释,还是不知道为什么最后还要\n
http://acm.hdu.edu.cn/showproblem.php?pid=1095
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d %d",&a,&b)!=EOF)
{
printf("%d\n",a+b);
printf("\n");
}
return ;
}
一直presentation不对 ,看了别人的解释,还是不知道为什么最后还要\n
http://acm.hdu.edu.cn/showproblem.php?pid=1095
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d %d",&a,&b)!=EOF)
{
printf("%d\n",a+b);
printf("\n");
}
return ;
}