Problem eating
User itsLQ
Submission Time 2023-12-18 13:34:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:6:47: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >; _Tp = bool; _Hash = std::hash<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >; _Pred = std::equal_to<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<std::pair<const std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >, bool> >]’
6 | unordered_map<pair<string, string>, bool> fed;
| ^~~
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/