| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149962 | 王峻熙 | 数组输出 | C++ | Compile Error | 0 MS | 0 KB | 240 | 2026-03-21 14:54:55 |
#include<iostream> using namespace std; int main(){ int a[10]={}; for(int i=0;i<=9;i++){ cin>>a[i]; } for(int j=0;j<9;j++){ cout<<a[i]<<" "; } cout<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:10:21: error: 'i' was not declared in this scope
cout<