0_0_33551040_25052.cpp: In function 'void find(int, int, int, int, int)':
0_0_33551040_25052.cpp:30:11: error: reference to 'next' is ambiguous
if(n<=k&&next[n]==0)
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:34:17: error: reference to 'next' is ambiguous
for(int i=1;i<=next[n];i++)
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:38:12: error: reference to 'next' is ambiguous
if(cont!=next[n])
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp: In function 'int main()':
0_0_33551040_25052.cpp:60:7: error: reference to 'next' is ambiguous
next[t1]++;
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:61:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][0]= a;
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:62:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][1]= b;
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:63:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][2]= c;
^
0_0_33551040_25052.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_33551040_25052.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_33551040_25052.cpp:64:21: error: reference to 'next' is ambiguous
type[t1].arr[ next[t1] ][3]= d;
^
0_0_33551040_25052.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_33551040_25052.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
^
|