0_0_18713343_9760.cpp:15:1: error: 'vector' does not name a type
vector<int>g[N];
^
0_0_18713343_9760.cpp:16:1: error: 'stack' does not name a type
stack<node>st;
^
0_0_18713343_9760.cpp: In function 'void init()':
0_0_18713343_9760.cpp:24:9: error: 'g' was not declared in this scope
g[i].clear();
^
0_0_18713343_9760.cpp:25:12: error: 'st' was not declared in this scope
while(!st.empty())st.pop();
^
0_0_18713343_9760.cpp: In function 'void judge(int, int)':
0_0_18713343_9760.cpp:37:12: error: 'st' was not declared in this scope
while(!st.empty())
^
0_0_18713343_9760.cpp: In function 'void tarjan(int, int)':
0_0_18713343_9760.cpp:54:12: error: 'g' was not declared in this scope
int len = g[x].size();
^
0_0_18713343_9760.cpp:62:7: error: 'st' was not declared in this scope
st.push(node(x,t));
^
0_0_18713343_9760.cpp:64:31: error: 'min' was not declared in this scope
low[x] = min(low[x], low[t]);
^
0_0_18713343_9760.cpp:64:31: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_18713343_9760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_18713343_9760.cpp:74:13: error: 'st' was not declared in this scope
st.push(node(x,t));
^
0_0_18713343_9760.cpp:75:31: error: 'min' was not declared in this scope
low[x] = min(low[x], dfn[t]);
^
0_0_18713343_9760.cpp:75:31: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_18713343_9760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_18713343_9760.cpp: In function 'int main()':
0_0_18713343_9760.cpp:97:13: error: 'g' was not declared in this scope
g[x].push_back(y);
^
|