0_0_30120840_515.cpp: In function 'void GETNEXT(char*)':
0_0_30120840_515.cpp:17:5: error: reference to 'next' is ambiguous
next[0]=len;//³õʼ»¯next[0]
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:23:5: error: reference to 'next' is ambiguous
next[1]=i;
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:31:12: error: reference to 'next' is ambiguous
if(next[i-po]+i<next[po]+po)//µÚÒ»ÖÖǨ¦¿ö£¬¿ÉÒÔÖ¡À½ÓµÃµ½next[i]µÄÖµ
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:31:25: error: reference to 'next' is ambiguous
if(next[i-po]+i<next[po]+po)//µÚÒ»ÖÖǨ¦¿ö£¬¿ÉÒÔÖ¡À½ÓµÃµ½next[i]µÄÖµ
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:33:13: error: reference to 'next' is ambiguous
next[i]=next[i-po];
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:33:21: error: reference to 'next' is ambiguous
next[i]=next[i-po];
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:39:15: error: reference to 'next' is ambiguous
j=next[po]+po-i;
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:47:13: error: reference to 'next' is ambiguous
next[i]=j;
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp: In function 'void EXKMP(char*, char*)':
0_0_30120840_515.cpp:79:12: error: reference to 'next' is ambiguous
if(next[i-po]+i<ex[po]+po)//µÚÒ»ÖÖǨ¦¿ö£¬Ö¡À½Ó¿ÉÒԵõ½ex[i]µÄÖµ
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp:81:19: error: reference to 'next' is ambiguous
ex[i]=next[i-po];
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.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_30120840_515.cpp: In function 'int main()':
0_0_30120840_515.cpp:109:10: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_30120840_515.cpp:7:5: note: candidates are: int next [1000086]
int next[maxn],ex[maxn]; //exÊý¡Á¨¦¼´ÎªextendÊý¡Á¨¦
^
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_30120840_515.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _
|