0_0_17741465_9574.cpp: In function 'bool spfa()':
0_0_17741465_9574.cpp:56:5: error: reference to 'prev' is ambiguous
ms(prev,-1);
^
0_0_17741465_9574.cpp:20:24: note: in definition of macro 'ms'
#define ms(x,y) memset(x,y,sizeof(x))
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:56:5: error: reference to 'prev' is ambiguous
ms(prev,-1);
^
0_0_17741465_9574.cpp:20:35: note: in definition of macro 'ms'
#define ms(x,y) memset(x,y,sizeof(x))
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:69:5: error: reference to 'prev' is ambiguous
prev[nx] = fr;
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:78:9: error: reference to 'prev' is ambiguous
return prev[TOTAL_T] != -1;
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp: In function 'int MCMF(int&)':
0_0_17741465_9574.cpp:89:33: error: reference to 'prev' is ambiguous
min_f = min(min_f,E[edge_num[prev[pres]][pres]].f);
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:90:11: error: reference to 'prev' is ambiguous
pres = prev[pres];
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:94:29: error: reference to 'prev' is ambiguous
int prevedge0 = edge_num[prev[pres]][pres],prevedge1 = edge_num[pres][prev[pres]];
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
0_0_17741465_9574.cpp:96:6: error: 'prevedge1' was not declared in this scope
E[prevedge1].f += min_f;
^
0_0_17741465_9574.cpp:98:11: error: reference to 'prev' is ambiguous
pres = prev[pres];
^
0_0_17741465_9574.cpp:37:7: note: candidates are: int prev [630]
int e,prev[maxn*3],d[maxn*3],st[maxn*3],edge_num[maxn*2][maxn*2];
^
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_17741465_9574.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:193:5: note: template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)
prev(_BidirectionalIterator __x, typename
^
|