| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158708 | 罗嘉睿 | A+B 输入输出练习IV | C++ | Output Limit Exceeded | 31 MS | 268 KB | 216 | 2026-08-22 16:49:05 |
#include<bits/stdc++.h> using namespace std; int main() { int N,a,s=0; while(cin>>N) { if(N=0) { return 0; } while(N--) { cin>>a; s+=a; } cout<<s<<endl; } return 0; }