1 5 10 20 0 0
6 30
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int a,b;
while(scanf("%d%d",&a,&b)!=EOF)
{
if(a==0&&b==0)
break;
printf("%d\n",a+b);
}
return 0;
}
版权声明:本文为博主原创文章,未经博主允许不得转载。
HDU-1091-A+B for Input-Output Practice (III)(继续水)
原文:http://blog.csdn.net/qq_16542775/article/details/46892345