0_0_36679306_17633.cpp:24:1: error: expected unqualified-id before '/' token
/
^
0_0_36679306_17633.cpp:28:2: error: 'e' does not name a type
}e[num<<1];//e
^
0_0_36679306_17633.cpp:40:1: error: expected unqualified-id before '/' token
/
^
0_0_36679306_17633.cpp: In function 'void addedge1(int, int)':
0_0_36679306_17633.cpp:64:1: error: 'e' was not declared in this scope
e[++cnt].u=u;
^
0_0_36679306_17633.cpp: In function 'void addedge2(int, int)':
0_0_36679306_17633.cpp:73:1: error: 'e' was not declared in this scope
e[++cnt2].u=u;
^
0_0_36679306_17633.cpp: In function 'void tarjan(int)':
0_0_36679306_17633.cpp:84:1: error: reference to 'stack' is ambiguous
stack[++t]=u;
^
0_0_36679306_17633.cpp:34:27: note: candidates are: int stack [10010]
int dfn[num],low[num],ind,stack[num],t,all,w[num],w2[num],f[num],cnt3;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from 0_0_36679306_17633.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note: template<class _Tp, class _Sequence> class std::stack
class stack
^
0_0_36679306_17633.cpp:87:27: error: 'e' was not declared in this scope
for(int i=head[u];i!=-1;i=e[i].next)
^
0_0_36679306_17633.cpp:107:3: error: reference to 'stack' is ambiguous
v=stack[t--];
^
0_0_36679306_17633.cpp:34:27: note: candidates are: int stack [10010]
int dfn[num],low[num],ind,stack[num],t,all,w[num],w2[num],f[num],cnt3;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from 0_0_36679306_17633.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note: template<class _Tp, class _Sequence> class std::stack
class stack
^
0_0_36679306_17633.cpp: In function 'void dfs(int, int)':
0_0_36679306_17633.cpp:121:28: error: 'e' was not declared in this scope
for(int i=head2[u];i!=-1;i=e[i].next)
^
0_0_36679306_17633.cpp: In function 'int main()':
0_0_36679306_17633.cpp:138:7: error: 'int_i' was not declared in this scope
int_i();
^
0_0_36679306_17633.cpp:159:3: error: 'e' was not declared in this scope
u=e[i].u;
^
|