Problem adjmatrix
User jerrielchangjiebin
Submission Time 2024-12-23 15:17:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:20:6: error: ‘adj_matrix’ was not declared in this scope; did you mean ‘adjmatrix’?
20 | adj_matrix[a][b] = adj_matrix[b][a] = 1;
| ^~~~~~~~~~
| adjmatrix
adjmatrix.cpp:29:20: error: ‘adj_matrix’ was not declared in this scope; did you mean ‘adjmatrix’?
29 | cout << adj_matrix[a][b];
| ^~~~~~~~~~
| adjmatrix