Run ID:143156

提交时间:2026-01-11 19:06:25

#include<bits/stdc++.h> using namespace std; int a[10001],b,c; int main(){ for(int i=0; ;i++){ cin>>b>>c; if(b==0&&c==0){ break; } a[i]=b+c; } for(int i=0; ;i++){ if(a[i]==0){ break; } cout<<a[i]<<endl; } return 0; }