0_0_37818869_25382.cpp: In function 'void dijkstra()':
0_0_37818869_25382.cpp:47:20: error: invalid initialization of reference of type 'node&' from expression of type 'edge'
for(node &v : e[u]) {
^
0_0_37818869_25382.cpp:48:8: error: redeclaration of 'int v'
int v = e[u][z].v, w = e[u][z].w;
^
0_0_37818869_25382.cpp:47:13: note: 'node& v' previously declared here
for(node &v : e[u]) {
^
0_0_37818869_25382.cpp:48:17: error: 'z' was not declared in this scope
int v = e[u][z].v, w = e[u][z].w;
^
0_0_37818869_25382.cpp:50:25: error: 'w' was not declared in this scope
if(dis[v] > dis[u] + w){
^
|