Problem zanesletters
User Henries
Submission Time 2024-11-29 22:28:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

zanesletters.cpp: In function ‘int main()’:
zanesletters.cpp:17:18: error: no matching function for call to ‘std::multiset<std::set<long long int> >::find(std::multiset<long long int>&)’
17 | if (s.find(temp) != s.end()){
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from zanesletters.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 = std::set<long long int>; _Compare = std::less<std::set<long long int> >; _Alloc = std::allocator<std::set<long long int> >; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<std::set<long long int> >; std::multiset<_Key, _Compare, _Alloc>::key_type = std::set