0_0_23037263_8055.cpp: In function 'void bfs()':
0_0_23037263_8055.cpp:31:41: error: reference to 'begin' is ambiguous
temp.place = beginIndex; temp.str=begin;
^
0_0_23037263_8055.cpp:19:8: note: candidates are: std::string begin
string begin;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:89:5: note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
begin(initializer_list<_Tp> __ils) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:51:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:87:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
begin(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:58:5: note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
begin(const _Container& __cont) -> decltype(__cont.begin())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:48:5: note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
begin(_Container& __cont) -> decltype(__cont.begin())
^
0_0_23037263_8055.cpp:34:8: error: reference to 'begin' is ambiguous
mm[begin].place=1;
^
0_0_23037263_8055.cpp:19:8: note: candidates are: std::string begin
string begin;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:89:5: note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
begin(initializer_list<_Tp> __ils) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:51:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:87:5: note: template<class _Tp, long long unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
begin(_Tp (&__arr)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:58:5: note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
begin(const _Container& __cont) -> decltype(__cont.begin())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/range_access.h:48:5: note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
begin(_Container& __cont) -> decltype(__cont.begin())
^
0_0_23037263_8055.cpp:42:31: error: reference to 'move' is ambiguous
int x=cur.place/3+move[i][0];
^
0_0_23037263_8055.cpp:22:5: note: candidates are: int move [4][2]
int move[4][2]={{-1,0},{1,0},{0,-1},{0,1}};
^
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_23037263_8055.cpp:3:
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_23037263_8055.cpp:3:
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++/bits/char_traits.h:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
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_23037263_8055.cpp:43:31: error: reference to 'move' is ambiguous
int y=cur.place%3+move[i][1];
^
0_0_23037263_8055.cpp:22:5: note: candidates are: int move [4][2]
int move[4][2]={{-1,0},{1,0},{0,-1},{0,1}};
^
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_23037263_8055.cpp:3:
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_23037263_8055.cpp:3:
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++/bits/char_traits.h:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23037263_8055.cpp:1:
GCC4.9.2/x86_64-w64-
|