Problem mrt
User dacashew
Submission Time 2022-12-29 18:09:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘int main()’:
mrt.cpp:11:7: error: ‘n’ was not declared in this scope
11 | cin>>n>>e>>q;
| ^
mrt.cpp:15:4: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
15 | dis[i][j]=INT_MAX;
| ^~~
| div
mrt.cpp:24:3: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
24 | dis[x][y]=w;
| ^~~
| div
mrt.cpp:30:9: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
30 | if((dis[i][k]!=INT_MAX && dis[k][j]!=INT_MAX)&&dis[i][j]>dis[i][k]+dis[k][j]){
| ^~~
| div
mrt.cpp:38:6: error: ‘dis’ was not declared in this scope; did you mean ‘div’?
38 | if(dis[x][y]!=INT_MAX){
| ^~~
| div