Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143886 刘宸宇 A+B 输入输出练习III C++ Accepted 2 MS 276 KB 313 2026-01-17 20:57:54

Tests(1/1):


Code:

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