0_0_13072747_24540.cpp: In function 'void get_next(char*, int)':
0_0_13072747_24540.cpp:11:2: error: reference to 'next' is ambiguous
next[0]=len;
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:13:2: error: reference to 'next' is ambiguous
next[1]=k,k=1;mx=k+next[k];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:13:21: error: reference to 'next' is ambiguous
next[1]=k,k=1;mx=k+next[k];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:15:3: error: reference to 'next' is ambiguous
next[i]=min(next[i-k],max(mx-i,0));
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:15:15: error: reference to 'next' is ambiguous
next[i]=min(next[i-k],max(mx-i,0));
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:16:11: error: reference to 'next' is ambiguous
while(i+next[i]<len&&a[next[i]]==a[i+next[i]])++next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:16:26: error: reference to 'next' is ambiguous
while(i+next[i]<len&&a[next[i]]==a[i+next[i]])++next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:16:40: error: reference to 'next' is ambiguous
while(i+next[i]<len&&a[next[i]]==a[i+next[i]])++next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:16:51: error: reference to 'next' is ambiguous
while(i+next[i]<len&&a[next[i]]==a[i+next[i]])++next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:17:8: error: reference to 'next' is ambiguous
if(i+next[i]>mx)k=i,mx=k+next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:17:28: error: reference to 'next' is ambiguous
if(i+next[i]>mx)k=i,mx=k+next[i];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp: In function 'void EKMP(char*, char*, int*, int)':
0_0_13072747_24540.cpp:24:23: error: reference to 'next' is ambiguous
extend[0]=k,k=0,mx=k+next[k];
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int next [500010]
int next[N],extend1[N],extend2[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++/algorithm:61,
from 0_0_13072747_24540.cpp:3:
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_13072747_24540.cpp:26:17: error: reference to 'next' is ambiguous
extend[i]=min(next[i-k],max(mx-i,0));
^
0_0_13072747_24540.cpp:7:5: note: candidates are: int
|