Problem adjmatrix
User yuhong
Submission Time 2023-03-03 14:10:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp:25:10: error: array bound is not an integer constant before ‘]’ token
25 | int mat[n][n];
| ^
adjmatrix.cpp:25:13: error: array bound is not an integer constant before ‘]’ token
25 | int mat[n][n];
| ^
adjmatrix.cpp: In function ‘void solve()’:
adjmatrix.cpp:34:5: error: ‘mat’ was not declared in this scope
34 | mat[x][y] = 1;
| ^~~
adjmatrix.cpp:39:13: error: ‘mat’ was not declared in this scope
39 | cout<<mat[i][j];
| ^~~