0_0_24173420_9450.cpp: In function 'void work()':
0_0_24173420_9450.cpp:18:13: error: reference to 'prev' is ambiguous
prev[i]=-1;
^
0_0_24173420_9450.cpp:7:5: note: candidates are: int prev [510]
int prev[maxn],check[maxn],matchinex[maxn],n,matchiney[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_24173420_9450.cpp:3:
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_24173420_9450.cpp:25:46: error: reference to 'next' is ambiguous
for (int j=last[u];j&& !find;j=next[j]){ //ืขาโ&!find
^
0_0_24173420_9450.cpp:6:19: note: candidates are: int next [1020]
int point[maxn*2],next[maxn*2],last[maxn],ans,i,x,y,k,m;
^
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_24173420_9450.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_24173420_9450.cpp:31:26: error: reference to 'prev' is ambiguous
prev[matchiney[v]]=u;
^
0_0_24173420_9450.cpp:7:5: note: candidates are: int prev [510]
int prev[maxn],check[maxn],matchinex[maxn],n,matchiney[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_24173420_9450.cpp:3:
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_24173420_9450.cpp:40:36: error: reference to 'prev' is ambiguous
d=prev[d];
^
0_0_24173420_9450.cpp:7:5: note: candidates are: int prev [510]
int prev[maxn],check[maxn],matchinex[maxn],n,matchiney[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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_24173420_9450.cpp:3:
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_24173420_9450.cpp: In function 'int main()':
0_0_24173420_9450.cpp:59:12: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_24173420_9450.cpp:6:19: note: candidates are: int next [1020]
int point[maxn*2],next[maxn*2],last[maxn],ans,i,x,y,k,m;
^
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_24173420_9450.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_24173420_9450.cpp:59:26: error: reference to 'next' is ambiguous
memset(next,0,sizeof(next));
^
0_0_24173420_9450.cpp:6:19: note: candidates are: int next [1020]
int point[maxn*2],next[maxn*2],last[maxn],ans,i,x,y,k,m;
^
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_24173420_9450.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_24173420_9450.cpp:64:9: error: reference to 'next' is ambiguous
next[i]=last[x];
^
0_0_24173420_9450.cpp:6:19: note: candidates are: int next [1020]
int point[maxn*2],next[maxn*2],last[maxn],ans,i,x,y,k,m;
^
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_24173420_9450.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
^
|