Borderou de evaluare (job #394592)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Arhipelag (clasa a 9-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 oct. 2018 12:52:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:8: error: ‘DC’ was not declared in this scope
user.cpp:14:10: error: template argument 1 is invalid
user.cpp:14:10: error: template argument 2 is invalid
user.cpp:14:13: error: invalid type in declaration before ‘;’ token
user.cpp: In function ‘void adauga(int, int)’:
user.cpp:17:5: error: ‘DC’ was not declared in this scope
user.cpp:17:8: error: expected ‘;’ before ‘r’
user.cpp:18:5: error: ‘r’ was not declared in this scope
user.cpp:24:7: error: request for member ‘push_back’ in ‘v’, which is of non-class type ‘int’
user.cpp: In function ‘void distante()’:
user.cpp:30:23: error: no matching function for call to ‘begin(int&)’
user.cpp:30:23: note: candidates are:
/usr/include/c++/4.6/initializer_list:86:5: note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:30:23: error: no matching function for call to ‘end(int&)’
user.cpp:30:23: note: candidates are:
/usr/include/c++/4.6/initializer_list:96:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:30:23: error: unable to deduce ‘auto’ from ‘<expression error>’
user.cpp:35:23: error: no matching function for call to ‘begin(int&)’
user.cpp:35:23: note: candidates are:
/usr/include/c++/4.6/initializer_list:86:5: note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:87:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:58:5: note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:48:5: note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
user.cpp:35:23: error: no matching function for call to ‘end(int&)’
user.cpp:35:23: note: candidates are:
/usr/include/c++/4.6/initializer_list:96:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
/usr/include/c++/4.6/bits/range_access.h:97:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
/usr/include/c++/4.6/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
/usr/include/c++/4.6/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
user.cpp:35:23: error: unable to deduce ‘auto’ from ‘<expression error>’
user.cpp:28:12: warning: unused variable ‘j’ [-Wunused-variable]