Problem | catlunch |
---|---|
User | back2square1 |
Submission Time | 2023-11-15 13:12:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:44:36: error: no matching function for call to ‘std::multiset<long long int, std::greater<long long int> >::find(std::multiset<long long int, std::greater<long long int> >::iterator)’
44 | s.erase(s.find(begin(s)));
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from catlunch.cpp:1:
/usr/include/c++/9/bits/stl_multiset.h:775:7: note: candidate: ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = long long int; _Compare = std::greater<long long int>; _Alloc = std::allocator<long long int>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<long long int>; std::multiset<_Key, _Compare, _Alloc>::key_ty