0_0_37831290_8223.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_37831290_8223.cpp:59:14: error: expected unqualified-id before '[' token
for(auto [u,v]:t){
^
0_0_37831290_8223.cpp:59:14: error: expected ';' before '[' token
0_0_37831290_8223.cpp:59:15: error: 'u' was not declared in this scope
for(auto [u,v]:t){
^
0_0_37831290_8223.cpp:59:17: error: 'v' was not declared in this scope
for(auto [u,v]:t){
^
0_0_37831290_8223.cpp: In lambda function:
0_0_37831290_8223.cpp:59:19: error: expected '{' before ':' token
for(auto [u,v]:t){
^
0_0_37831290_8223.cpp: In function 'void dfs(long long int, long long int, long long int)':
0_0_37831290_8223.cpp:59:19: error: expected ';' before ':' token
0_0_37831290_8223.cpp:59:19: error: expected primary-expression before ':' token
0_0_37831290_8223.cpp:59:19: error: expected ')' before ':' token
0_0_37831290_8223.cpp:59:19: error: expected primary-expression before ':' token
0_0_37831290_8223.cpp:74:14: error: expected unqualified-id before '[' token
auto [u,v]=t[i];
^
0_0_37831290_8223.cpp:75:29: error: 'u' was not declared in this scope
while(l<=m&&t[l][0]<u){
^
0_0_37831290_8223.cpp:81:30: error: 'u' was not declared in this scope
while(r<=m&&t[r][0]<=u){
^
0_0_37831290_8223.cpp:88:12: error: 'u' was not declared in this scope
if(u<=lt) f[x][0]=min(f[x][0],c[x]*abs(w[x]-u)+tot);
^
0_0_37831290_8223.cpp:89:12: error: 'u' was not declared in this scope
if(u>=lt) f[x][1]=min(f[x][1],c[x]*abs(w[x]-u)+tot);
^
|