| Problem | adjmatrix |
|---|---|
| User | dfsssssssssfsdfdssgdfs |
| Submission Time | 2026-03-25 17:13:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In lambda function:
adjmatrix.cpp:11:23: error: expected ‘{’ before ‘[’ token
11 | int adjmatrix=[nodes][nodes];
| ^
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:11:23: error: no match for ‘operator[]’ (operand types are ‘main()::<lambda()>’ and ‘int’)
adjmatrix.cpp:15:4: error: ‘adjamatrix’ was not declared in this scope; did you mean ‘adjmatrix’?
15 | adjamatrix[y][i]=0;
| ^~~~~~~~~~
| adjmatrix
adjmatrix.cpp:21:15: error: invalid types ‘int[int]’ for array subscript
21 | adjmatrix [a][b] = 1;
| ^
adjmatrix.cpp:22:15: error: invalid types ‘int[int]’ for array subscript
22 | adjmatrix [b][a] = 1;
| ^
adjmatrix.cpp:27:24: error: invalid types ‘int[int]’ for array subscript
27 | cout << adjmatrix [k][e];
| ^