| Problem | summoning |
|---|---|
| User | newperson |
| Submission Time | 2026-07-03 16:13:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
summoning.cpp: In function ‘int main()’:
summoning.cpp:29:24: error: no matching function for call to ‘std::multiset<long long int>::erase(std::reverse_iterator<std::_Rb_tree_const_iterator<long long int> >&)’
29 | items.erase(big);
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from summoning.cpp:1:
/usr/include/c++/9/bits/stl_multiset.h:639:7: note: candidate: ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::erase(std::multiset<_Key, _Compare, _Alloc>::const_iterator) [with _Key = long long int; _Compare = std::less<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>::const_iterator = std: