Problem | yaleuniversity |
---|---|
User | helloworld |
Submission Time | 2024-11-03 12:17:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
yaleuniversity.cpp: In function ‘int main()’:
yaleuniversity.cpp:15:20: error: no matching function for call to ‘std::multiset<long long int>::insert(std::string&)’
15 | ms.insert(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 yaleuniversity.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 = 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>::value_type = long long int]’
502 | insert(const value_type& __x)
| ^~~~~~
/usr/include/c++/9/