0_0_33551389_31641.cpp: In function 'void find(int, int, int, int, int)':
0_0_33551389_31641.cpp:30:11: error: reference to 'next' is ambiguous
if(n<=k&&next[n]==0)
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:32:22: error: reference to 'next' is ambiguous
else for(int i=1;i<=next[n];i++){
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:35:12: error: reference to 'next' is ambiguous
if(cont!=next[n])
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp: In function 'int main()':
0_0_33551389_31641.cpp:56:7: error: reference to 'next' is ambiguous
next[t1]++;
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:57:20: error: reference to 'next' is ambiguous
type[t1].arr[next[t1]][0]= a;
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:58:20: error: reference to 'next' is ambiguous
type[t1].arr[next[t1]][1]= b;
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:59:20: error: reference to 'next' is ambiguous
type[t1].arr[next[t1]][2]= c;
^
0_0_33551389_31641.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_33551389_31641.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_33551389_31641.cpp:60:20: error: reference to 'next' is ambiguous
type[t1].arr[next[t1]][3]= d;
^
0_0_33551389_31641.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_33551389_31641.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
^
|