0_0_38535222_457.cpp: In function 'void kruskal()':
0_0_38535222_457.cpp:27:15: error: expected unqualified-id before '[' token
for (auto [x, y, w] : G)
^
0_0_38535222_457.cpp:27:15: error: expected ';' before '[' token
0_0_38535222_457.cpp:27:16: error: 'x' was not declared in this scope
for (auto [x, y, w] : G)
^
0_0_38535222_457.cpp:27:19: error: 'y' was not declared in this scope
for (auto [x, y, w] : G)
^
0_0_38535222_457.cpp:27:22: error: 'w' was not declared in this scope
for (auto [x, y, w] : G)
^
0_0_38535222_457.cpp: In lambda function:
0_0_38535222_457.cpp:27:25: error: expected '{' before ':' token
for (auto [x, y, w] : G)
^
0_0_38535222_457.cpp: In function 'void kruskal()':
0_0_38535222_457.cpp:27:25: error: expected ';' before ':' token
0_0_38535222_457.cpp:27:25: error: expected primary-expression before ':' token
0_0_38535222_457.cpp:27:25: error: expected ')' before ':' token
0_0_38535222_457.cpp:27:25: error: expected primary-expression before ':' token
|