Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2827 吴奕希 方阵填数 C++ Compile Error 0 MS 0 KB 110 2024-03-02 18:07:40

Tests(0/0):


Code:

# include<iostream> using namespace std; int main(){ int n; cin>>n; int juzhen[n][n]={} return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:20: error: variable-sized object 'juzhen' may not be initialized
  int juzhen[n][n]={}
                    ^
Main.cc:7:2: error: expected ',' or ';' before 'return'
  return 0;
  ^
Main.cc:6:6: warning: unused variable 'juzhen' [-Wunused-variable]
  int juzhen[n][n]={}
      ^