[恢]hdu 1000

2011-12-12 03:08:00

链接:http://acm.hdu.edu.cn/showproblem.php?pid=1000

题意:输入多组a和b,输出a+b的和并换行。

代码:

# include <stdio.h>


int main ()
{
int a, b ;
while (~scanf ("%d%d", &a, &b))
printf ("%d\n", a+b) ;
return 0 ;
}



posted @ 2012-01-06 14:08  Seraph2012  阅读(130)  评论(0编辑  收藏  举报