Robotas

Taškai: 0

Compile: FAIL

robotas.cpp: In function ‘void mark(int, int)’: robotas.cpp:19:9: error: reference to ‘move’ is ambiguous move[run] = "S"; ^ robotas.cpp:11:8: note: candidates are: std::__cxx11::string move [1000] string move[1000]; ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:495:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II __first, _II __last, _OI __result) ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/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 ^ robotas.cpp:23:9: error: reference to ‘move’ is ambiguous move[run] = "N"; ^ robotas.cpp:11:8: note: candidates are: std::__cxx11::string move [1000] string move[1000]; ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:495:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II __first, _II __last, _OI __result) ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/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 ^ robotas.cpp:28:13: error: reference to ‘move’ is ambiguous move[run] = "E"; ^ robotas.cpp:11:8: note: candidates are: std::__cxx11::string move [1000] string move[1000]; ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:495:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II __first, _II __last, _OI __result) ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/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 ^ robotas.cpp:32:13: error: reference to ‘move’ is ambiguous move[run] = "W"; ^ robotas.cpp:11:8: note: candidates are: std::__cxx11::string move [1000] string move[1000]; ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:495:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II __first, _II __last, _OI __result) ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/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 ^ robotas.cpp: In function ‘int main()’: robotas.cpp:110:17: error: reference to ‘move’ is ambiguous fout << move[i]; ^ robotas.cpp:11:8: note: candidates are: std::__cxx11::string move [1000] string move[1000]; ^ In file included from /usr/include/c++/5/bits/char_traits.h:39:0, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:495:5: note: template<class _II, class _OI> _OI std::move(_II, _II, _OI) move(_II __first, _II __last, _OI __result) ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from robotas.cpp:3: /usr/include/c++/5/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 ^

nr.resulttimemessage