0_0_38201790_4372.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_38201790_4372.cpp:15:22: error: expected unqualified-id before '[' token
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp:15:22: error: expected ';' before '[' token
0_0_38201790_4372.cpp:15:26: error: 'u' was not declared in this scope
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp: In lambda function:
0_0_38201790_4372.cpp:15:29: error: expected '{' before ':' token
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_38201790_4372.cpp:15:29: error: could not convert '<lambda closure object>dfs(long long int, long long int, long long int)::<lambda()>{w}' from 'dfs(long long int, long long int, long long int)::<lambda()>' to 'bool'
0_0_38201790_4372.cpp:15:29: error: expected ';' before ':' token
0_0_38201790_4372.cpp:15:29: error: expected primary-expression before ':' token
0_0_38201790_4372.cpp:15:29: error: expected ')' before ':' token
0_0_38201790_4372.cpp:15:29: error: expected primary-expression before ':' token
0_0_38201790_4372.cpp:32:22: error: expected unqualified-id before '[' token
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp:32:22: error: expected ';' before '[' token
0_0_38201790_4372.cpp:32:26: error: 'u' was not declared in this scope
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp: In lambda function:
0_0_38201790_4372.cpp:32:29: error: expected '{' before ':' token
for (const auto &[w, u] : e[x])
^
0_0_38201790_4372.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_38201790_4372.cpp:32:29: error: could not convert '<lambda closure object>dfs(long long int, long long int, long long int)::<lambda()>{w}' from 'dfs(long long int, long long int, long long int)::<lambda()>' to 'bool'
0_0_38201790_4372.cpp:32:29: error: expected ';' before ':' token
0_0_38201790_4372.cpp:32:29: error: expected primary-expression before ':' token
0_0_38201790_4372.cpp:32:29: error: expected ')' before ':' token
0_0_38201790_4372.cpp:32:29: error: expected primary-expression before ':' token
0_0_38201790_4372.cpp:34:48: error: expected primary-expression before ')' token
a.push_back({w, dp[u][0], dp[u][1]});
^
|