0_0_18564078_31012.cpp: In function 'void clear()':
0_0_18564078_31012.cpp:23:39: error: reference to 'next' is ambiguous
for ( i = 0 ; i <= e ; i++ ) to[i] = next[i] = flow[i] = 0;
^
0_0_18564078_31012.cpp:13:32: note: candidates are: int next [2100000]
int head[1100] , to[2100000] , next[2100000] , flow[2100000] , 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++/algorithm:61,
from 0_0_18564078_31012.cpp:2:
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_18564078_31012.cpp: In function 'void add(int, int, int)':
0_0_18564078_31012.cpp:33:26: error: reference to 'next' is ambiguous
to[e] = v; flow[e] = f; next[e] = head[u]; head[u] = e++;
^
0_0_18564078_31012.cpp:13:32: note: candidates are: int next [2100000]
int head[1100] , to[2100000] , next[2100000] , flow[2100000] , 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++/algorithm:61,
from 0_0_18564078_31012.cpp:2:
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_18564078_31012.cpp:34:26: error: reference to 'next' is ambiguous
to[e] = u; flow[e] = 0; next[e] = head[v]; head[v] = e++;
^
0_0_18564078_31012.cpp:13:32: note: candidates are: int next [2100000]
int head[1100] , to[2100000] , next[2100000] , flow[2100000] , 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++/algorithm:61,
from 0_0_18564078_31012.cpp:2:
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_18564078_31012.cpp: In function 'bool makelevel()':
0_0_18564078_31012.cpp:43:41: error: reference to 'next' is ambiguous
for ( int j = head[k] ; j != -1 ; j = next[j] )
^
0_0_18564078_31012.cpp:13:32: note: candidates are: int next [2100000]
int head[1100] , to[2100000] , next[2100000] , flow[2100000] , 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++/algorithm:61,
from 0_0_18564078_31012.cpp:2:
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_18564078_31012.cpp: In function 'int find(int, int)':
0_0_18564078_31012.cpp:56:40: error: reference to 'next' is ambiguous
for ( int j = head[k] ; j != -1 ; j = next[j] )
^
0_0_18564078_31012.cpp:13:32: note: candidates are: int next [2100000]
int head[1100] , to[2100000] , next[2100000] , flow[2100000] , 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++/algorithm:61,
from 0_0_18564078_31012.cpp:2:
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
^
|