0_0_14142531_30856.cpp: In function 'void dfs(int)':
0_0_14142531_30856.cpp:88:8: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:88:25: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:90:9: error: reference to 'next' is ambiguous
dfs(next[u][0]); //×ó×ß
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:93:9: error: reference to 'next' is ambiguous
dfs(next[u][1]);
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp: In function 'int main()':
0_0_14142531_30856.cpp:111:13: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:111:26: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:126:13: error: reference to 'next' is ambiguous
next[u][0] = x;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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_14142531_30856.cpp:127:13: error: reference to 'next' is ambiguous
next[u][1] = y;
^
0_0_14142531_30856.cpp:10:5: note: candidates are: int next [400010][2]
int next[MAXN][2];
^
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_14142531_30856.cpp:4:
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
^
|