0_0_20593392_15731.cpp: In function 'void add(int, int, int, int)':
0_0_20593392_15731.cpp:11:42: error: reference to 'next' is ambiguous
e[++cnt].to=y;e[cnt].fr=x;e[cnt].cap=v1;next[cnt]=first[x];first[x]=cnt;
^
0_0_20593392_15731.cpp:9:17: note: candidates are: int next [600300]
int first[maxn],next[maxn*30],d[maxn],cur[maxn],fa[maxn],num[maxn];
^
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_20593392_15731.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_20593392_15731.cpp:12:42: error: reference to 'next' is ambiguous
e[++cnt].to=x;e[cnt].fr=y;e[cnt].cap=v2;next[cnt]=first[y];first[y]=cnt;
^
0_0_20593392_15731.cpp:9:17: note: candidates are: int next [600300]
int first[maxn],next[maxn*30],d[maxn],cur[maxn],fa[maxn],num[maxn];
^
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_20593392_15731.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_20593392_15731.cpp: In function 'void bfs()':
0_0_20593392_15731.cpp:20:30: error: reference to 'next' is ambiguous
for(int i=first[x];i!=-1;i=next[i])
^
0_0_20593392_15731.cpp:9:17: note: candidates are: int next [600300]
int first[maxn],next[maxn*30],d[maxn],cur[maxn],fa[maxn],num[maxn];
^
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_20593392_15731.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_20593392_15731.cpp: In function 'int isap()':
0_0_20593392_15731.cpp:43:28: error: reference to 'next' is ambiguous
for(int i=cur[x];i!=-1;i=next[i])
^
0_0_20593392_15731.cpp:9:17: note: candidates are: int next [600300]
int first[maxn],next[maxn*30],d[maxn],cur[maxn],fa[maxn],num[maxn];
^
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_20593392_15731.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_20593392_15731.cpp:52:31: error: reference to 'next' is ambiguous
for(int i=first[x];i!=-1;i=next[i])
^
0_0_20593392_15731.cpp:9:17: note: candidates are: int next [600300]
int first[maxn],next[maxn*30],d[maxn],cur[maxn],fa[maxn],num[maxn];
^
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_20593392_15731.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
^
|