| Problem | adjmatrix |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-07-25 09:47:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++) {
| ^
adjmatrix.cpp:8:8: error: ‘j’ was not declared in this scope
8 | for (j = 0; j < n; j++) {
| ^
adjmatrix.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i = 0; i < e; i++) {
| ^
adjmatrix.cpp:18:7: error: ‘i’ was not declared in this scope
18 | for (i = 0; i < n; i++) {
| ^
adjmatrix.cpp:19:8: error: ‘j’ was not declared in this scope
19 | for (j = 0; j < n; j++) {
| ^
adjmatrix.cpp:20:12: error: ‘adjmatrix’ was not declared in this scope; did you mean ‘adjMatrix’?
20 | cout << adjmatrix[i][j];
| ^~~~~~~~~
| adjMatrix