0_0_35671513_19086.cpp: In function 'void dfs(long long int, long long int)':
0_0_35671513_19086.cpp:15:13: error: expected unqualified-id before '[' token
for(auto[to,w]:g[u]){
^
0_0_35671513_19086.cpp:15:13: error: expected ';' before '[' token
0_0_35671513_19086.cpp:15:14: error: 'to' was not declared in this scope
for(auto[to,w]:g[u]){
^
0_0_35671513_19086.cpp:15:17: error: 'w' was not declared in this scope
for(auto[to,w]:g[u]){
^
0_0_35671513_19086.cpp: In lambda function:
0_0_35671513_19086.cpp:15:19: error: expected '{' before ':' token
for(auto[to,w]:g[u]){
^
0_0_35671513_19086.cpp: In function 'void dfs(long long int, long long int)':
0_0_35671513_19086.cpp:15:19: error: expected ';' before ':' token
0_0_35671513_19086.cpp:15:19: error: expected primary-expression before ':' token
0_0_35671513_19086.cpp:15:19: error: expected ')' before ':' token
0_0_35671513_19086.cpp:15:19: error: expected primary-expression before ':' token
0_0_35671513_19086.cpp:27:13: error: expected unqualified-id before '[' token
auto[to,w]=v[i];
^
0_0_35671513_19086.cpp:28:20: error: 'to' was not declared in this scope
f[u][0]+=f[to][0]+w;
^
0_0_35671513_19086.cpp:28:27: error: 'w' was not declared in this scope
f[u][0]+=f[to][0]+w;
^
0_0_35671513_19086.cpp:31:13: error: expected unqualified-id before '[' token
auto[to,w]=v[i];
^
0_0_35671513_19086.cpp:32:39: error: 'to' was not declared in this scope
f[u][1]=max(f[u][1],f[u][0]+f[to][1]-f[to][0]);
^
0_0_35671513_19086.cpp:35:13: error: expected unqualified-id before '[' token
auto[to,w]=v[k-1];
^
0_0_35671513_19086.cpp:36:20: error: 'to' was not declared in this scope
f[u][0]+=f[to][0]+w;
^
0_0_35671513_19086.cpp:36:27: error: 'w' was not declared in this scope
f[u][0]+=f[to][0]+w;
^
0_0_35671513_19086.cpp:39:13: error: expected unqualified-id before '[' token
auto[to,w]=v[i];
^
0_0_35671513_19086.cpp:40:39: error: 'to' was not declared in this scope
f[u][2]=max(f[u][2],f[u][0]+f[to][1]-f[to][0]);
^
0_0_35671513_19086.cpp:43:13: error: expected unqualified-id before '[' token
auto[to,w]=v[k-1];
^
0_0_35671513_19086.cpp:44:20: error: 'to' was not declared in this scope
f[u][0]-=f[to][0]+w;
^
0_0_35671513_19086.cpp:44:27: error: 'w' was not declared in this scope
f[u][0]-=f[to][0]+w;
^
|