Borderou de evaluare (job #514074)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Selecţie (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 dec. 2019 10:50:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'int main()':
user.cpp:19:5: error: reference to 'begin' is ambiguous
user.cpp:9:14: error: candidates are: int begin
/usr/include/c++/4.6/initializer_list:86:5: error: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: error: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: error: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:20:5: error: reference to 'end' is ambiguous
user.cpp:9:21: error: candidates are: int end
/usr/include/c++/4.6/initializer_list:96:5: error: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: error: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: error: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:21:11: error: reference to 'begin' is ambiguous
user.cpp:9:14: error: candidates are: int begin
/usr/include/c++/4.6/initializer_list:86:5: error: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: error: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: error: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:21:17: error: reference to 'end' is ambiguous
user.cpp:9:21: error: candidates are: int end
/usr/include/c++/4.6/initializer_list:96:5: error: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: error: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: error: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:22:11: error: reference to 'begin' is ambiguous
user.cpp:9:14: error: candidates are: int begin
/usr/include/c++/4.6/initializer_list:86:5: error: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: error: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: error: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:23:11: error: reference to 'end' is ambiguous
user.cpp:9:21: error: candidates are: int end
/usr/include/c++/4.6/initializer_list:96:5: error: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: error: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: error: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:24:18: error: reference to 'begin' is ambiguous
user.cpp:9:14: error: candidates are: int begin
/usr/include/c++/4.6/initializer_list:86:5: error: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: error: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: error: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:24:26: error: reference to 'end' is ambiguous
user.cpp:9:21: error: candidates are: int end
/usr/include/c++/4.6/initializer_list:96:5: error: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: error: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: error: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: error: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:37:9: error: reference to 'end' is ambiguous