Problem zanesletters
User Kannan
Submission Time 2023-12-20 10:10:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

zanesletters.cpp: In function ‘int main()’:
zanesletters.cpp:8:39: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::multiset<int>; _Tp = int; _Hash = std::hash<std::multiset<int> >; _Pred = std::equal_to<std::multiset<int> >; _Alloc = std::allocator<std::pair<const std::multiset<int>, int> >]’
8 | unordered_map<multiset<int>, int> countMap;
| ^~~~~~~~
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from zanesletters.cpp:1:
/usr/include/c++/9/bits/unordered_map.h:141:7: note: ‘std::unordered