LJY • 1年前
#include <iostream>
using namespace std;
const int N=1e6;
int main(){
#ifdef ONLINE_JUDGE
#else
freopen("in.txt","r",stdin);
#endif
int a,b;
for(int i=0;i<N;i++){
scanf("%d %d",&a,&b);
if(a==0&&b==0) break;
printf("%d\n",a+b);
}
return 0;
}
评论: