0_0_22312055_18826.cpp: In function 'void dfs(int)':
0_0_22312055_18826.cpp:92:8: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:92:25: error: reference to 'next' is ambiguous
if(next[u][0]==0 && next[u][1]==0)return;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:94:9: error: reference to 'next' is ambiguous
dfs(next[u][0]);
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:97:9: error: reference to 'next' is ambiguous
dfs(next[u][1]);
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp: In function 'int main()':
0_0_22312055_18826.cpp:107:17: error: 'T' was not declared in this scope
scanf("%d",&T);
^
0_0_22312055_18826.cpp:114:13: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:114:26: error: reference to 'next' is ambiguous
next[i][0] = next[i][1] = 0;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:129:13: error: reference to 'next' is ambiguous
next[u][0] = x;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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_22312055_18826.cpp:130:13: error: reference to 'next' is ambiguous
next[u][1] = y;
^
0_0_22312055_18826.cpp:14: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_22312055_18826.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
^
|