0_0_16033583_2094.cpp: In function 'int solve(int)':
0_0_16033583_2094.cpp:43:21: error: reference to 'next' is ambiguous
next[i][s]|=(1<<j);
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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_16033583_2094.cpp:56:19: error: reference to 'next' is ambiguous
next[i][s]=-1;
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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_16033583_2094.cpp:69:27: error: reference to 'next' is ambiguous
int tt=next[i][s^(1<<j)];
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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_16033583_2094.cpp:77:20: error: reference to 'next' is ambiguous
int tt=next[i][s];
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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_16033583_2094.cpp: In function 'int main()':
0_0_16033583_2094.cpp:101:10: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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_16033583_2094.cpp:101:24: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_16033583_2094.cpp:11:21: note: candidates are: int next [1050][2048]
int l[maxn],r[maxn],next[maxn][1<<11],N;
^
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++/istream:38,
from 0_0_16033583_2094.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
^
|