Problem | winter |
---|---|
User | Random52 |
Submission Time | 2024-12-21 11:25:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
winter.cpp: In function ‘int main()’:
winter.cpp:41:36: error: no matching function for call to ‘std::multiset<std::pair<std::pair<long int, long int>, long int> >::insert(std::multiset<std::pair<std::pair<long int, long int>, long int> >::iterator)’
41 | s.insert(s.find(a_e[i]));
| ^
In file included from /usr/include/c++/9/set:62,
from winter.cpp:2:
/usr/include/c++/9/bits/stl_multiset.h:502:7: note: candidate: ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = std::pair<std::pair<long int, long int>, long int>; _Compare = std::less<std::pair<std::pair<long int, long int>, long int> >; _Alloc = std::allocator<std::pair<std::pair<long int, long int>, long int> >; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb