0_0_37831198_12900.cpp: In function 'void solve()':
0_0_37831198_12900.cpp:33:18: error: expected unqualified-id before '[' token
auto [x, y] = e[i];
^
0_0_37831198_12900.cpp:34:21: error: 'x' was not declared in this scope
if (col[x] == col[y]) col[i] = 1, res += w[i];
^
0_0_37831198_12900.cpp:34:31: error: 'y' was not declared in this scope
if (col[x] == col[y]) col[i] = 1, res += w[i];
^
|