Problem appeal
User PlayVoltz
Submission Time 2023-12-09 01:35:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

appeal.cpp: In function ‘int32_t main()’:
appeal.cpp:11:12: error: no matching function for call to ‘std::multiset<unsigned int>::insert(std::string&)’
11 | s.insert(a);
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from appeal.cpp:1:
/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 = unsigned int; _Compare = std::less<unsigned int>; _Alloc = std::allocator<unsigned int>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<unsigned int>; std::multiset<_Key, _Compare, _Alloc>::value_type = unsigned int]’
502 | insert(const value_type& __x)
| ^~~~~~
/usr/include/c++/9/bits/stl_multiset.h:502:32: note: no kno