Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80431 何思佳 数组输出 C++ Compile Error 0 MS 0 KB 130 2024-07-11 14:35:51

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a[10]; for(int i=0;i<n;i++){ cin>>a[i]; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:16: error: 'n' was not declared in this scope
  for(int i=0;i