url:http://acm.hdu.edu.cn/showproblem.php?pid=1000
简单的 a+b 问题,这里要注意输入格式及输出格式
直接上代码:
#include<stdio.h>
int main()
{
int m,n;
while(scanf("%d %d",&m,&n)!=EOF)
{
printf("%d\n",m+n);
}
return 0;
}
url:http://acm.hdu.edu.cn/showproblem.php?pid=1000
简单的 a+b 问题,这里要注意输入格式及输出格式
直接上代码:
#include<stdio.h>
int main()
{
int m,n;
while(scanf("%d %d",&m,&n)!=EOF)
{
printf("%d\n",m+n);
}
return 0;
}