0_0_18021766_26612.cpp: In function 'void init()':
0_0_18021766_26612.cpp:39:13: error: reference to 'next' is ambiguous
next[th]=first[j];
^
0_0_18021766_26612.cpp:23:17: note: candidates are: int next [15000000]
int first[maxn],next[15000000],cnt[maxn],g[maxn],po[30],point[15000000],v[maxn][22],th;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18021766_26612.cpp:1:
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_18021766_26612.cpp: In function 'void charu(int)':
0_0_18021766_26612.cpp:61:24: error: reference to 'next' is ambiguous
for(i=first[x];i;i=next[i]){
^
0_0_18021766_26612.cpp:23:17: note: candidates are: int next [15000000]
int first[maxn],next[15000000],cnt[maxn],g[maxn],po[30],point[15000000],v[maxn][22],th;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18021766_26612.cpp:1:
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_18021766_26612.cpp: In function 'void shanchu(int)':
0_0_18021766_26612.cpp:75:24: error: reference to 'next' is ambiguous
for(i=first[x];i;i=next[i]){
^
0_0_18021766_26612.cpp:23:17: note: candidates are: int next [15000000]
int first[maxn],next[15000000],cnt[maxn],g[maxn],po[30],point[15000000],v[maxn][22],th;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18021766_26612.cpp:1:
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_18021766_26612.cpp: In function 'void solve(int)':
0_0_18021766_26612.cpp:89:24: error: reference to 'next' is ambiguous
for(i=first[x];i;i=next[i]){
^
0_0_18021766_26612.cpp:23:17: note: candidates are: int next [15000000]
int first[maxn],next[15000000],cnt[maxn],g[maxn],po[30],point[15000000],v[maxn][22],th;
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_18021766_26612.cpp:1:
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
^
|