0_0_38071327_721.cpp: In function 'void dfs(int, int)':
0_0_38071327_721.cpp:50:16: error: expected unqualified-id before '[' token
for (auto& [v, w]: edge[u]) {
^
0_0_38071327_721.cpp:50:16: error: expected ';' before '[' token
0_0_38071327_721.cpp:50:17: error: 'v' was not declared in this scope
for (auto& [v, w]: edge[u]) {
^
0_0_38071327_721.cpp:50:20: error: 'w' was not declared in this scope
for (auto& [v, w]: edge[u]) {
^
0_0_38071327_721.cpp: In lambda function:
0_0_38071327_721.cpp:50:22: error: expected '{' before ':' token
for (auto& [v, w]: edge[u]) {
^
0_0_38071327_721.cpp: In function 'void dfs(int, int)':
0_0_38071327_721.cpp:50:22: error: expected ';' before ':' token
0_0_38071327_721.cpp:50:22: error: expected primary-expression before ':' token
0_0_38071327_721.cpp:50:22: error: expected ')' before ':' token
0_0_38071327_721.cpp:50:22: error: expected primary-expression before ':' token
0_0_38071327_721.cpp:66:15: error: expected unqualified-id before '[' token
auto& [w, v] = son[i];
^
0_0_38071327_721.cpp:66:15: error: expected initializer before '[' token
0_0_38071327_721.cpp:67:44: error: 'w' was not declared in this scope
ll add_sum0 = 0, val = abs(wn[u] - w) * cost[u];
^
|