0_0_38517840_31403.cpp: In function 'void DFS(int)':
0_0_38517840_31403.cpp:81:20: error: expected unqualified-id before '[' token
for (auto& [t, _] : dat[e.v]) {
^
0_0_38517840_31403.cpp:81:20: error: expected ';' before '[' token
0_0_38517840_31403.cpp:81:21: error: 't' was not declared in this scope
for (auto& [t, _] : dat[e.v]) {
^
0_0_38517840_31403.cpp:81:24: error: '_' was not declared in this scope
for (auto& [t, _] : dat[e.v]) {
^
0_0_38517840_31403.cpp: In lambda function:
0_0_38517840_31403.cpp:81:27: error: expected '{' before ':' token
for (auto& [t, _] : dat[e.v]) {
^
0_0_38517840_31403.cpp: In function 'void DFS(int)':
0_0_38517840_31403.cpp:81:27: error: expected ';' before ':' token
0_0_38517840_31403.cpp:81:27: error: expected primary-expression before ':' token
0_0_38517840_31403.cpp:81:27: error: expected ')' before ':' token
0_0_38517840_31403.cpp:81:27: error: expected primary-expression before ':' token
0_0_38517840_31403.cpp: In function 'void Update(int, int)':
0_0_38517840_31403.cpp:100:18: error: expected unqualified-id before '[' token
auto [rid, v] = vec[i];
^
0_0_38517840_31403.cpp:101:17: error: 'rid' was not declared in this scope
if (rid < sid) continue;
^
0_0_38517840_31403.cpp:110:53: error: 'rid' was not declared in this scope
vec.insert(vec.begin() + i + 1, pil(rid, v));
^
|