0_0_26992481_7211.cpp: In function 'int find(int, int)':
0_0_26992481_7211.cpp:38:8: error: reference to 'next' is ambiguous
if(next[i][t]!=t)
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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_26992481_7211.cpp:39:9: error: reference to 'next' is ambiguous
next[i][t]=find(i,next[i][t]);
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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_26992481_7211.cpp:39:27: error: reference to 'next' is ambiguous
next[i][t]=find(i,next[i][t]);
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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_26992481_7211.cpp:40:12: error: reference to 'next' is ambiguous
return next[i][t];
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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_26992481_7211.cpp: In function 'int dele(int, int, int)':
0_0_26992481_7211.cpp:49:9: error: reference to 'next' is ambiguous
next[i][l]=l+1;
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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_26992481_7211.cpp: In function 'int main()':
0_0_26992481_7211.cpp:78:17: error: reference to 'next' is ambiguous
next[i][j]=j;
^
0_0_26992481_7211.cpp:35:5: note: candidates are: int next [205][100500]
int next[N][M];
^
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_26992481_7211.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
^
|