0_0_16458852_17055.cpp: In function 'void AddEdge(int, int)':
0_0_16458852_17055.cpp:21:15: error: reference to 'next' is ambiguous
to[++e]=v;next[e]=first[u];first[u]=e;in[v]++;
^
0_0_16458852_17055.cpp:19:23: note: candidates are: int next [200010]
int n,m,k,first[maxn],next[maxm],to[maxm],in[maxn],is[maxn],e;
^
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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_16458852_17055.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
^
|