0_0_16985068_6678.cpp: In member function 'int tire::newnode()':
0_0_16985068_6678.cpp:28:13: error: reference to 'next' is ambiguous
next[L][i]=-1;
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:30:9: error: reference to 'end' is ambiguous
end[L++]=0;
^
0_0_16985068_6678.cpp:20:22: note: candidates are: int end [1000010]
int next[1000010][2],end[1000010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:63:0,
from 0_0_16985068_6678.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61,
from 0_0_16985068_6678.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
0_0_16985068_6678.cpp: In member function 'void tire::insert(int)':
0_0_16985068_6678.cpp:43:16: error: reference to 'next' is ambiguous
if(next[now][(x&(1<<i))==0?0:1]==-1)
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:45:17: error: reference to 'next' is ambiguous
next[now][(x&(1<<i))==0?0:1]=newnode();
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:47:17: error: reference to 'next' is ambiguous
now=next[now][(x&(1<<i))==0?0:1];
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:49:9: error: reference to 'end' is ambiguous
end[now]++;
^
0_0_16985068_6678.cpp:20:22: note: candidates are: int end [1000010]
int next[1000010][2],end[1000010];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:63:0,
from 0_0_16985068_6678.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:97:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61,
from 0_0_16985068_6678.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
0_0_16985068_6678.cpp: In member function 'bool tire::del(int, int, int)':
0_0_16985068_6678.cpp:54:26: error: reference to 'next' is ambiguous
if(del(x,i-1,next[now][(x&(1<<i))==0?0:1])) return true;
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:55:12: error: reference to 'next' is ambiguous
if(next[now][0]!=-1&&next[now][1]!=-1)
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:55:30: error: reference to 'next' is ambiguous
if(next[now][0]!=-1&&next[now][1]!=-1)
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
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/stl_tree.h:61,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
from 0_0_16985068_6678.cpp:6:
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_16985068_6678.cpp:57:13: error: reference to 'next' is ambiguous
next[now][(x&(1<<i))==0?0:1]=-1;
^
0_0_16985068_6678.cpp:20:5: note: candidates are: int next [1000010][2]
int next[1000010][2],end[1000010];
^
In file included from GCC4.9.2/x86_64-w
|