Borderou de evaluare (job #446689)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvenţa (clasa a 7-a) | Compilator | cpp |
Rundă | lasm_13_03_2019_10_12b | Status | evaluat |
Dată | 14 mar. 2019 21:42:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:22: error: cannot bind ‘std::basic_ostream<char>’ lvalue to ‘std::basic_ostream<char>&&’
/usr/include/c++/4.6/ostream:581:5: error: initializing argument 1 of ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char, _Traits = std::char_traits<char>, _Tp = __gnu_cxx::__normal_iterator<int*, std::vector<int> >]’
user.cpp:21:24: error: no match for ‘operator[]’ in ‘a[b.std::vector<_Tp, _Alloc>::begin [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<int*, std::vector<int> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = int*]()]’