0_0_35620625_23992.cpp:169:1: error: 'stack' does not name a type
stack<int> s;
^
0_0_35620625_23992.cpp: In function 'void init()':
0_0_35620625_23992.cpp:173:17: error: 'tot' was not declared in this scope
num = cnt = tot = 0;
^
0_0_35620625_23992.cpp:181:12: error: 's' was not declared in this scope
while(!s.empty())
^
0_0_35620625_23992.cpp: In function 'void tarjan(int, int)':
0_0_35620625_23992.cpp:191:13: error: 'top' was not declared in this scope
stack[++top] = u;
^
|