0_0_19840491_10883.cpp: In function 'void bfs()':
0_0_19840491_10883.cpp:32:19: error: reference to 'move' is ambiguous
for (int i=1;i<=move[tip.to][0];i++){
^
0_0_19840491_10883.cpp:15:5: note: candidates are: int move [1005][1005]
int move[1005][1005],xcost[1005][1005];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:408:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:1009:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, const _Tp&, const _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
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_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_19840491_10883.cpp:33:14: error: reference to 'move' is ambiguous
if (!used[move[tip.to][i]]){
^
0_0_19840491_10883.cpp:15:5: note: candidates are: int move [1005][1005]
int move[1005][1005],xcost[1005][1005];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:408:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:1009:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, const _Tp&, const _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
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_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_19840491_10883.cpp:35:13: error: reference to 'move' is ambiguous
temp.to=move[tip.to][i];
^
0_0_19840491_10883.cpp:15:5: note: candidates are: int move [1005][1005]
int move[1005][1005],xcost[1005][1005];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:408:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:1009:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, const _Tp&, const _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
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_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:101:5: note: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^
0_0_19840491_10883.cpp: In function 'int main()':
0_0_19840491_10883.cpp:45:10: error: reference to 'move' is ambiguous
memset(move,0,sizeof(move));
^
0_0_19840491_10883.cpp:15:5: note: candidates are: int move [1005][1005]
int move[1005][1005],xcost[1005][1005];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:408:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:1009:5: note: template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::move(std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, const _Tp&, const _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)
move(_Deque_iterator<_Tp, const _Tp&, const _Tp*> __first,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_19840491_10883.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:489:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/incl
|