|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 366216
Mesaj evaluator:
piloti.cpp: In function `int main()':
piloti.cpp:24: no matching function for call to `std::multiset<int,
std::less<int>, std::allocator<int> >::erase()'
/usr/include/c++/3.2.2/bits/stl_multiset.h:169: candidates are: void
std::multiset<_Key, _Compare, _Alloc>::erase(std::_Rb_tree<_Key, _Key,
std::_Identity<_Key>, _Compare, _Alloc>::const_iterator) [with _Key = int,
_Compare = std::less<int>, _Alloc = std::allocator<int>]
/usr/include/c++/3.2.2/bits/stl_multiset.h:173:
std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, _Alloc>::size_type
std::multiset<_Key, _Compare, _Alloc>::erase(const _Key&) [with _Key = int,
_Compare = std::less<int>, _Alloc = std::allocator<int>]
/usr/include/c++/3.2.2/bits/stl_multiset.h:176: void
std::multiset<_Key, _Compare, _Alloc>::erase(std::_Rb_tree<_Key, _Key,
std::_Identity<_Key>, _Compare, _Alloc>::const_iterator, std::_Rb_tree<_Key,
_Key, std::_Identity<_Key>, _Compare, _Alloc>::const_iterator) [with _Key =
int, _Compare = std::less<int>, _Alloc = std::allocator<int>]
piloti.cpp:25: parse error before `if'
|
||||||||||||||
ajutor |