Problem joke
User user123
Submission Time 2023-09-20 16:06:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

joke.cpp: In function ‘void dijkstra()’:
joke.cpp:26:13: error: ‘vis’ was not declared in this scope
26 | if (vis[u]) continue;
| ^~~
joke.cpp:27:9: error: ‘vis’ was not declared in this scope
27 | vis[u]=true;
| ^~~
joke.cpp:29:20: error: ‘h’ was not declared in this scope
29 | for (int a=h[u]; ~a; a=ne[a])
| ^
joke.cpp:29:32: error: ‘ne’ was not declared in this scope; did you mean ‘n’?
29 | for (int a=h[u]; ~a; a=ne[a])
| ^~
| n
joke.cpp:31:19: error: ‘e’ was not declared in this scope
31 | int v=e[a];
| ^
joke.cpp:32:27: error: ‘w’ was not declared in this scope
32 | if (d[v]>d[u]+w[a])
| ^