Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149964 王峻熙 数组输出 C++ Compile Error 0 MS 0 KB 229 2026-03-21 14:56:08

Tests(0/0):


Code:

#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]<<" "<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:21: error: 'i' was not declared in this scope
             cout<