0_0_18287391_13476.cpp: In function 'void dfs(int, int)':
0_0_18287391_13476.cpp:102:25: error: reference to 'next' is ambiguous
for(int i=in[x];i!=0;i=next[i]) if(e[i]!=Fa){
^
0_0_18287391_13476.cpp:24:5: note: candidates are: int next [200020]
int next[2*N],w[2*N],e[2*N],in[N],x,y,W,dep[N],fa[N][18],f[N],tot,cnt,a,b,c,n,m;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18287391_13476.cpp:1:
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_18287391_13476.cpp: In function 'void dfs2(int, int)':
0_0_18287391_13476.cpp:111:25: error: reference to 'next' is ambiguous
for(int i=in[x];i!=0;i=next[i]) if(e[i]!=fa){
^
0_0_18287391_13476.cpp:24:5: note: candidates are: int next [200020]
int next[2*N],w[2*N],e[2*N],in[N],x,y,W,dep[N],fa[N][18],f[N],tot,cnt,a,b,c,n,m;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18287391_13476.cpp:1:
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_18287391_13476.cpp:123:26: error: reference to 'next' is ambiguous
for(int i=in[x];i!=0;i=next[i]) if(e[i]!=e[son] && e[i]!=fa){
^
0_0_18287391_13476.cpp:24:5: note: candidates are: int next [200020]
int next[2*N],w[2*N],e[2*N],in[N],x,y,W,dep[N],fa[N][18],f[N],tot,cnt,a,b,c,n,m;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18287391_13476.cpp:1:
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_18287391_13476.cpp: In function 'int main()':
0_0_18287391_13476.cpp:159:4: error: reference to 'next' is ambiguous
next[tot]=in[x];
^
0_0_18287391_13476.cpp:24:5: note: candidates are: int next [200020]
int next[2*N],w[2*N],e[2*N],in[N],x,y,W,dep[N],fa[N][18],f[N],tot,cnt,a,b,c,n,m;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18287391_13476.cpp:1:
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_18287391_13476.cpp:164:4: error: reference to 'next' is ambiguous
next[tot]=in[y];
^
0_0_18287391_13476.cpp:24:5: note: candidates are: int next [200020]
int next[2*N],w[2*N],e[2*N],in[N],x,y,W,dep[N],fa[N][18],f[N],tot,cnt,a,b,c,n,m;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18287391_13476.cpp:1:
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
^
|