0_0_32673333_15952.cpp:1:1: error: 'vector' does not name a type
vector<int> g[N];
^
0_0_32673333_15952.cpp:6:3: error: 'vector' does not name a type
vector<edge> G[N];
^
0_0_32673333_15952.cpp:7:3: error: 'vector' does not name a type
vector<pair<int, int>> bridges;
^
0_0_32673333_15952.cpp:8:14: error: 'N' was not declared in this scope
bool iscut[N];
^
0_0_32673333_15952.cpp:9:11: error: 'N' was not declared in this scope
int dfn[N], low[N], tot, edcc[N], edcnt;
^
0_0_32673333_15952.cpp:9:19: error: 'N' was not declared in this scope
int dfn[N], low[N], tot, edcc[N], edcnt;
^
0_0_32673333_15952.cpp:9:33: error: 'N' was not declared in this scope
int dfn[N], low[N], tot, edcc[N], edcnt;
^
0_0_32673333_15952.cpp:10:3: error: 'stack' does not name a type
stack<int> s;
^
0_0_32673333_15952.cpp: In function 'void EDCC::init(int)':
0_0_32673333_15952.cpp:13:13: error: 's' was not declared in this scope
while (!s.empty()) s.pop();
^
0_0_32673333_15952.cpp:14:34: error: 'G' was not declared in this scope
for (int i = 1; i <= n; i++) G[i].clear(), dfn[i] = 0, edcc[i] = 0, low[i] = 0;
^
0_0_32673333_15952.cpp:14:48: error: 'dfn' was not declared in this scope
for (int i = 1; i <= n; i++) G[i].clear(), dfn[i] = 0, edcc[i] = 0, low[i] = 0;
^
0_0_32673333_15952.cpp:14:60: error: 'edcc' was not declared in this scope
for (int i = 1; i <= n; i++) G[i].clear(), dfn[i] = 0, edcc[i] = 0, low[i] = 0;
^
0_0_32673333_15952.cpp:14:73: error: 'low' was not declared in this scope
for (int i = 1; i <= n; i++) G[i].clear(), dfn[i] = 0, edcc[i] = 0, low[i] = 0;
^
0_0_32673333_15952.cpp: In function 'void EDCC::add(int, int)':
0_0_32673333_15952.cpp:17:5: error: 'G' was not declared in this scope
G[u].push_back({v});
^
0_0_32673333_15952.cpp: In function 'void EDCC::dfs(int, int)':
0_0_32673333_15952.cpp:21:5: error: 'low' was not declared in this scope
low[u] = dfn[u] = ++tot, s.push(u);
^
0_0_32673333_15952.cpp:21:14: error: 'dfn' was not declared in this scope
low[u] = dfn[u] = ++tot, s.push(u);
^
0_0_32673333_15952.cpp:21:30: error: 's' was not declared in this scope
low[u] = dfn[u] = ++tot, s.push(u);
^
0_0_32673333_15952.cpp:23:20: error: 'G' was not declared in this scope
for (edge& e : G[u]) {
^
0_0_32673333_15952.cpp:29:51: error: 'min' was not declared in this scope
dfs(e.v, u), low[u] = min(low[u], low[e.v]);
^
0_0_32673333_15952.cpp:30:32: error: 'bridges' was not declared in this scope
if (dfn[e.v] < low[u]) bridges.push_back(make_pair(u, e.v)); // ¸î±ß
^
0_0_32673333_15952.cpp:30:66: error: 'make_pair' was not declared in this scope
if (dfn[e.v] < low[u]) bridges.push_back(make_pair(u, e.v)); // ¸î±ß
^
0_0_32673333_15952.cpp:31:33: error: 'iscut' was not declared in this scope
if (dfn[e.v] <= low[u]) iscut[u] = 1; // ¸îµã
^
0_0_32673333_15952.cpp:34:38: error: 'min' was not declared in this scope
low[u] = min(low[u], dfn[e.v]);
^
0_0_32673333_15952.cpp:41:9: error: 'edcc' was not declared in this scope
edcc[t] = edcnt;
^
0_0_32673333_15952.cpp: In function 'void EDCC::tarjan(int)':
0_0_32673333_15952.cpp:47:39: error: 'dfn' was not declared in this scope
for (int i = 1; i <= n; i++) if (!dfn[i]) dfs(i, i); // ÕÒÇÅ¡¢±ßË«Á¬Í¨
^
0_0_32673333_15952.cpp:48:38: error: 'g' was not declared in this scope
for (int i = 1; i <= edcnt; i++) g[i].clear();
^
0_0_32673333_15952.cpp:50:22: error: 'G' was not declared in this scope
for (edge &e : G[u]) if (edcc[u] != edcc[e.v]) g[edcc[u]].push_back(edcc[e.v]);
^
0_0_32673333_15952.cpp:50:32: error: 'edcc' was not declared in this scope
for (edge &e : G[u]) if (edcc[u] != edcc[e.v]) g[edcc[u]].push_back(edcc[e.v]);
^
0_0_32673333_15952.cpp:50:54: error: 'g' was not declared in this scope
for (edge &e : G[u]) if (edcc[u] != edcc[e.v]) g[edcc[u]].push_back(edcc[e.v]);
^
|