0_0_36207162_17302.cpp: In function 'void dfs(int, int, int)':
0_0_36207162_17302.cpp:132:11: error: expected unqualified-id before '[' token
for(auto [v,w]: g[u]) if(v^p) dfs(v,u,d+w);
^
0_0_36207162_17302.cpp:132:11: error: expected ';' before '[' token
0_0_36207162_17302.cpp:132:12: error: 'v' was not declared in this scope
for(auto [v,w]: g[u]) if(v^p) dfs(v,u,d+w);
^
0_0_36207162_17302.cpp:132:14: error: 'w' was not declared in this scope
for(auto [v,w]: g[u]) if(v^p) dfs(v,u,d+w);
^
0_0_36207162_17302.cpp: In lambda function:
0_0_36207162_17302.cpp:132:16: error: expected '{' before ':' token
for(auto [v,w]: g[u]) if(v^p) dfs(v,u,d+w);
^
0_0_36207162_17302.cpp: In function 'void dfs(int, int, int)':
0_0_36207162_17302.cpp:132:16: error: expected ';' before ':' token
0_0_36207162_17302.cpp:132:16: error: expected primary-expression before ':' token
0_0_36207162_17302.cpp:132:16: error: expected ')' before ':' token
0_0_36207162_17302.cpp:132:16: error: expected primary-expression before ':' token
|