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

Compile Error

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