Problem adjmatrix
User MiloDino67
Submission Time 2026-10-21 15:11:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp:4:14: error: invalid types ‘int[int]’ for array subscript
4 | dih arr[50[50];
| ^
adjmatrix.cpp:4:15: error: expected ‘]’ before ‘;’ token
4 | dih arr[50[50];
| ^
| ]
adjmatrix.cpp: In function ‘int32_t main()’:
adjmatrix.cpp:11:3: error: ‘arr’ was not declared in this scope
11 | arr[q][z]++;
| ^~~
adjmatrix.cpp:16:12: error: ‘arr’ was not declared in this scope
16 | cout << arr[y][x];
| ^~~