0_0_35784810_12979.cpp:15:1: error: 'stack' does not name a type
stack <Edge> palm;
^
0_0_35784810_12979.cpp:16:1: error: 'vector' does not name a type
vector <int> arc[N];
^
0_0_35784810_12979.cpp:17:1: error: 'vector' does not name a type
vector <Edge> block[N];
^
0_0_35784810_12979.cpp: In function 'void tarjan(int, int)':
0_0_35784810_12979.cpp:25:18: error: 'arc' was not declared in this scope
int len=(int)arc[u].size();
^
0_0_35784810_12979.cpp:30:13: error: 'palm' was not declared in this scope
palm.push(Edge(u, v));
^
0_0_35784810_12979.cpp:38:21: error: 'block' was not declared in this scope
block[ind].push_back(temp), palm.pop();
^
0_0_35784810_12979.cpp:40:17: error: 'block' was not declared in this scope
block[ind++].push_back(Edge(u, v));
^
0_0_35784810_12979.cpp:47:13: error: 'palm' was not declared in this scope
palm.push(Edge(u, v));
^
0_0_35784810_12979.cpp: In function 'int main()':
0_0_35784810_12979.cpp:57:32: error: 'arc' was not declared in this scope
for(int i=0; i<n; i++) arc[i].clear();
^
0_0_35784810_12979.cpp:61:13: error: 'arc' was not declared in this scope
arc[a].push_back(b);
^
0_0_35784810_12979.cpp:64:43: error: 'block' was not declared in this scope
for(int i=0; i<n; i++) dfn[i]=-1, block[i].clear();
^
0_0_35784810_12979.cpp:65:16: error: 'palm' was not declared in this scope
while(!palm.empty()) palm.pop();
^
0_0_35784810_12979.cpp:71:26: error: 'block' was not declared in this scope
int len=(int)block[i].size(), tot=0;
^
0_0_35784810_12979.cpp:74:63: error: 'tot' was not declared in this scope
if(!vs[block[i][j].st]) vs[block[i][j].st]=1, tot++;
^
0_0_35784810_12979.cpp:75:63: error: 'tot' was not declared in this scope
if(!vs[block[i][j].en]) vs[block[i][j].en]=1, tot++;
^
0_0_35784810_12979.cpp:77:20: error: 'tot' was not declared in this scope
if(len>tot) sum2+=len;
^
|