Borderou de evaluare (job #2332469)
Utilizator | Data | 30 ianuarie 2019 19:31:16 | |
---|---|---|---|
Problema | Reactivi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:60:16: error: expected ';' before 'frig'
frig.erase(frig.back());
^~~~
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
from /usr/include/c++/6/ios:40,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from main.cpp:1:
/usr/include/c++/6/bits/stl_algobase.h: In instantiation of 'void std::iter_swap(_ForwardIterator1, _ForwardIterator2) [with _ForwardIterator1 = __gnu_cxx::__normal_iterator<frigider*, std::vector<frigider> >; _ForwardIterator2 = frigider]':
main.cpp:59:40: required from here
/usr/include/c++/6/bits/stl_algobase.h:148:18: error: no match for 'operator*' (operand type is 'frigider')
swap(*__a, *__b);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !