a+b
时间:2010-11-17 来源:zerocc
对自己而言,这是一个开始。
问题:http://acm.hdu.edu.cn/showproblem.php?pid=1000
解题:
#include "stdio.h"
int main()
{
int a,b;
while(scanf("%d %d",&a,&b)!=EOF) /* 阅读到文件结束为止*/
{
printf("%d\n",a+b);
}
return 0;
}
按ctrl+z退出。
相关阅读 更多 +