0_0_13080660_30588.cpp: In function 'void get_extend1(char*)':
0_0_13080660_30588.cpp:12:2: error: reference to 'next' is ambiguous
next[1]=len;
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp:17:2: error: reference to 'next' is ambiguous
next[2]=i-1; k=2;
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp:21:7: error: reference to 'next' is ambiguous
p=k+next[k]-1; L=next[i-k+1];
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp:21:20: error: reference to 'next' is ambiguous
p=k+next[k]-1; L=next[i-k+1];
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp:22:15: error: reference to 'next' is ambiguous
if(i+L<p+1) next[i]=L;
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp:28:4: error: reference to 'next' is ambiguous
next[i]=j;
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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_13080660_30588.cpp: In function 'void get_extend2(char*, char*, int*)':
0_0_13080660_30588.cpp:45:18: error: reference to 'next' is ambiguous
p=k+ex[k]-1; L=next[i-k+1];
^
0_0_13080660_30588.cpp:7:29: note: candidates are: int next [510000]
int ex1[510000],ex2[510000],next[510000];
^
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_13080660_30588.cpp:4:
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
^
|