| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143939 | 徐景一 | A+B 输入输出练习III | C++ | Compile Error | 0 MS | 0 KB | 302 | 2026-01-18 08:26:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[1000],b[1000],i; for(i=0;i<1000;i++){ if(a[i]==0 && b[i]==0){ cin>>a[i]>>b[i]; }else{ break; } for(i=i;i>=0;i--){ cout<<a[i]+b[i]<<endl; } return 0; }
Main.cc: In function 'int main()': Main.cc:15:1: error: expected '}' at end of input } ^