0_0_17848184_20491.cpp: In function 'void ask(int, int)':
0_0_17848184_20491.cpp:48:7: error: reference to 'next' is ambiguous
ask(next[x][1^w],dep+1);
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp:50:14: error: reference to 'next' is ambiguous
curans+=co[next[x][1^w]];
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp:51:7: error: reference to 'next' is ambiguous
ask(next[x][0^w],dep+1);
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp: In function 'void add(int, int)':
0_0_17848184_20491.cpp:63:5: error: reference to 'next' is ambiguous
if(next[x][w]==0){
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp:64:3: error: reference to 'next' is ambiguous
next[x][w]=++all;
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp:66:6: error: reference to 'next' is ambiguous
add(next[x][w],dep+1);
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp: In function 'int main()':
0_0_17848184_20491.cpp:105:11: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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_17848184_20491.cpp:105:25: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_17848184_20491.cpp:18:57: note: candidates are: int next [3111111][2]
int nxt[MM],to[MM],l[MM],head[MN],val[MN],er[111],m,n,q,next[MA][2],gen,co[MA],where,st[MN],ed[MN];
^
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_17848184_20491.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
^
|