Problem mrt
User kahchun
Submission Time 2023-11-27 10:40:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘int main()’:
mrt.cpp:17:16: error: expected ‘;’ before ‘for’
17 | adj[i][i] = 0
| ^
| ;
18 |
19 | for (int i = 0; i < E; i++){
| ~~~
mrt.cpp:19:18: error: ‘i’ was not declared in this scope
19 | for (int i = 0; i < E; i++){
| ^
mrt.cpp:32:7: error: ‘mid’ was not declared in this scope
32 | for (mid = 0; mid < V; mid++)
| ^~~
mrt.cpp:33:8: error: ‘u’ was not declared in this scope
33 | for (u = 0; u < V; u++)
| ^
mrt.cpp:34:9: error: ‘v’ was not declared in this scope
34 | for (v = 0; v < V; v++){
| ^