1095 A+B for Input-Output Practice (VII)

一直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 0;
}   

 

posted @ 2019-04-16 12:16  CheeseIce  阅读(174)  评论(0编辑  收藏  举报