0_0_30120894_27159.cpp: In function 'void GETNEXT(char*)':
0_0_30120894_27159.cpp:16:5: error: reference to 'next' is ambiguous
next[0]=len;
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:22:5: error: reference to 'next' is ambiguous
next[1]=i;
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:30:12: error: reference to 'next' is ambiguous
if(next[i-po]+i<next[po]+po)
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:30:25: error: reference to 'next' is ambiguous
if(next[i-po]+i<next[po]+po)
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:32:13: error: reference to 'next' is ambiguous
next[i]=next[i-po];
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:32:21: error: reference to 'next' is ambiguous
next[i]=next[i-po];
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:38:15: error: reference to 'next' is ambiguous
j=next[po]+po-i;
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:46:13: error: reference to 'next' is ambiguous
next[i]=j;
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp: In function 'void EXKMP(char*, char*)':
0_0_30120894_27159.cpp:78:12: error: reference to 'next' is ambiguous
if(next[i-po]+i<ex[po]+po)
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:80:19: error: reference to 'next' is ambiguous
ex[i]=next[i-po];
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp: In function 'int main()':
0_0_30120894_27159.cpp:108:10: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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_30120894_27159.cpp:108:24: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_30120894_27159.cpp:7:5: note: candidates are: int next [1000006]
int next[maxn],ex[maxn];
^
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_30120894_27159.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
^
|