Problem | mrt |
---|---|
User | FreedomhawksBANANAA |
Submission Time | 2023-09-04 13:13:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mrt.cpp: In function ‘int main()’:
mrt.cpp:11:5: error: expected initializer before ‘for’
11 | for (int i = 0; i < n; i++)
| ^~~
mrt.cpp:11:21: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < n; i++)
| ^
mrt.cpp:12:25: error: ‘j’ was not declared in this scope
12 | for (int j = 0; j < n; j++)
| ^
mrt.cpp:16:9: error: ‘g’ was not declared in this scope
16 | g[i][i] = 0;
| ^
mrt.cpp:20:9: error: ‘g’ was not declared in this scope
20 | g[x][y] = g[y][x] = t;
| ^
mrt.cpp:26:17: error: ‘g’ was not declared in this scope
26 | g[i][j] = g[j][i] = min(g[i][j], g[i][k] + g[k][j]);
| ^
mrt.cpp:30:13: error: ‘g’ was not declared in this scope
30 | if (g[x][y] == 1e9 + 5)
| ^