0_0_33551351_22005.cpp: In function 'void find(int, int, int, int, int)':
0_0_33551351_22005.cpp:30:11: error: reference to 'next' is ambiguous
if(n<=k&&next[n]==0)
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:33:17: error: reference to 'next' is ambiguous
for(int i=1;i<=next[n];i++)
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:37:12: error: reference to 'next' is ambiguous
if(cont!=next[n])
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp: In function 'int main()':
0_0_33551351_22005.cpp:58:7: error: reference to 'next' is ambiguous
next[t1]++;
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:59:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][0]= a;
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:60:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][1]= b;
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:61:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][2]= c;
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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_33551351_22005.cpp:62:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][3]= d;
^
0_0_33551351_22005.cpp:11:5: note: candidates are: int next [55]
int next[55]={0},k;
^
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_33551351_22005.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
^
|