Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157721 张蔚林 数字方阵 C++ Compile Error 0 MS 0 KB 215 2026-08-15 19:35:55

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:27: error: expected primary-expression before ')' token
         for(int l=0;l>n;++){
                           ^
Main.cc:9:23: error: 'j' was not declared in this scope
             cin>>a[i][j];
                       ^