Problem eating
User Henries
Submission Time 2024-10-14 23:12:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int main()’:
eating.cpp:8:37: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >; _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<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
8 | unordered_set<pair<string,string>> s;
| ^
In file included from /usr/include/c++/9/unordered_set:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from eating.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:135:7: