0_0_38328552_29555.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_38328552_29555.cpp:29:11: error: expected unqualified-id before '[' token
for(auto [v, idd]: G[u]){
^
0_0_38328552_29555.cpp:29:11: error: expected ';' before '[' token
0_0_38328552_29555.cpp:29:12: error: 'v' was not declared in this scope
for(auto [v, idd]: G[u]){
^
0_0_38328552_29555.cpp:29:15: error: 'idd' was not declared in this scope
for(auto [v, idd]: G[u]){
^
0_0_38328552_29555.cpp: In lambda function:
0_0_38328552_29555.cpp:29:19: error: expected '{' before ':' token
for(auto [v, idd]: G[u]){
^
0_0_38328552_29555.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_38328552_29555.cpp:29:19: error: expected ';' before ':' token
0_0_38328552_29555.cpp:29:19: error: expected primary-expression before ':' token
0_0_38328552_29555.cpp:29:19: error: expected ')' before ':' token
0_0_38328552_29555.cpp:29:19: error: expected primary-expression before ':' token
0_0_38328552_29555.cpp: In function 'void solve()':
0_0_38328552_29555.cpp:75:9: error: expected unqualified-id before '[' token
auto [u, v, id] = cir[0]; // uÔÚÏÂÃæ
^
0_0_38328552_29555.cpp:76:25: error: 'u' was not declared in this scope
int res1 = dp[i]+val[u];
^
0_0_38328552_29555.cpp:77:9: error: 'id' was not declared in this scope
if(!(id&1))res1++;
^
0_0_38328552_29555.cpp:78:25: error: 'v' was not declared in this scope
int res2 = dp[i]+val[v];
^
0_0_38328552_29555.cpp:79:8: error: 'id' was not declared in this scope
if((id&1))res2++;
^
|