0_0_38362404_28886.cpp: In function 'long long int solve(int, int)':
0_0_38362404_28886.cpp:91:15: error: expected unqualified-id before '[' token
auto &[u,v,w] = e[i];
^
0_0_38362404_28886.cpp:91:15: error: expected initializer before '[' token
0_0_38362404_28886.cpp:92:22: error: 'u' was not declared in this scope
int A = find(u), B = find(v);
^
0_0_38362404_28886.cpp:93:15: error: 'B' was not declared in this scope
if(A==B) continue;
^
0_0_38362404_28886.cpp:94:24: error: 'B' was not declared in this scope
g[A].push_back(B);
^
0_0_38362404_28886.cpp:112:15: error: expected unqualified-id before '[' token
auto &[u,v,w] = e[i];
^
0_0_38362404_28886.cpp:112:15: error: expected initializer before '[' token
0_0_38362404_28886.cpp:113:16: error: 'u' was not declared in this scope
p[find(u)] = find(v);
^
0_0_38362404_28886.cpp:113:27: error: 'v' was not declared in this scope
p[find(u)] = find(v);
^
0_0_38362404_28886.cpp: In function 'int main()':
0_0_38362404_28886.cpp:128:19: error: expected unqualified-id before '[' token
auto &[u,v,w] = e[i];
^
0_0_38362404_28886.cpp:128:19: error: expected initializer before '[' token
0_0_38362404_28886.cpp:129:20: error: 'u' was not declared in this scope
cin >> u >> v >> w;
^
0_0_38362404_28886.cpp:129:25: error: 'v' was not declared in this scope
cin >> u >> v >> w;
^
0_0_38362404_28886.cpp:129:30: error: 'w' was not declared in this scope
cin >> u >> v >> w;
^
|