0_0_26604580_446.cpp: In function 'void dfs(int)':
0_0_26604580_446.cpp:93:8: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:93:25: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:95:9: error: reference to 'next' is ambiguous
dfs(next[u][0]);
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:98:9: error: reference to 'next' is ambiguous
dfs(next[u][1]);
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp: In function 'int main()':
0_0_26604580_446.cpp:116:13: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:116:26: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:131:13: error: reference to 'next' is ambiguous
next[u][0] = x;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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_26604580_446.cpp:132:13: error: reference to 'next' is ambiguous
next[u][1] = y;
^
0_0_26604580_446.cpp:15: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_26604580_446.cpp:5:
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
^
|