0_0_17030055_21155.cpp: In function 'void dfs(int, int)':
0_0_17030055_21155.cpp:60:12: error: reference to 'next' is ambiguous
for (;y;y=next[y]) if (y!=f) dfs(cd[y],y^1);la[x]=NE;
^
0_0_17030055_21155.cpp:17:80: note: candidates are: int next [200001]
int test,n,m,et=1,k,NT,ZE,NE,MAPLE,i,x,y,l,r,mid,tmp,v[N],b[N],p[N],e[N],cd[E],next[E],la[N],wt,ss[19],Tmp[N],u[N];char fl[L],*A=fl,*B=fl;bool fg;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_17030055_21155.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17030055_21155.cpp: In function 'int main()':
0_0_17030055_21155.cpp:68:48: error: reference to 'next' is ambiguous
for (i=1;i<n;i++) read(x),read(y),cd[++et]=y,next[et]=e[x],e[x]=et,cd[++et]=x,next[et]=e[y],e[y]=et;
^
0_0_17030055_21155.cpp:17:80: note: candidates are: int next [200001]
int test,n,m,et=1,k,NT,ZE,NE,MAPLE,i,x,y,l,r,mid,tmp,v[N],b[N],p[N],e[N],cd[E],next[E],la[N],wt,ss[19],Tmp[N],u[N];char fl[L],*A=fl,*B=fl;bool fg;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_17030055_21155.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17030055_21155.cpp:68:81: error: reference to 'next' is ambiguous
for (i=1;i<n;i++) read(x),read(y),cd[++et]=y,next[et]=e[x],e[x]=et,cd[++et]=x,next[et]=e[y],e[y]=et;
^
0_0_17030055_21155.cpp:17:80: note: candidates are: int next [200001]
int test,n,m,et=1,k,NT,ZE,NE,MAPLE,i,x,y,l,r,mid,tmp,v[N],b[N],p[N],e[N],cd[E],next[E],la[N],wt,ss[19],Tmp[N],u[N];char fl[L],*A=fl,*B=fl;bool fg;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_17030055_21155.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
|