Borderou de evaluare (job #276137)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Selecţie (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 feb. 2017 09:14:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:4: error: reference to ‘begin’ is ambiguous
user.cpp:6:35: 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:16:4: error: reference to ‘end’ is ambiguous
user.cpp:6:41: 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:18:15: error: reference to ‘begin’ is ambiguous
user.cpp:6:35: 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:18:21: error: reference to ‘end’ is ambiguous
user.cpp:6:41: 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:19:12: error: reference to ‘begin’ is ambiguous
user.cpp:6:35: 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:19:20: error: reference to ‘end’ is ambiguous
user.cpp:6:41: 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:20:18: error: reference to ‘begin’ is ambiguous
user.cpp:6:35: 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:24: error: reference to ‘end’ is ambiguous
user.cpp:6:41: 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:29:17: error: reference to ‘end’ is ambiguous