Problem eating
User IWKR
Submission Time 2023-01-21 15:36:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eating.cpp: In function ‘int32_t main()’:
eating.cpp:12:32: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<long long int, long long int>; _Hash = std::hash<std::pair<long long int, long long int> >; _Pred = std::equal_to<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::pair<long long int, long long int> >]’
12 | unordered_set<pair<int, int>> 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: note: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<long long int, long long int>; _Hash = std::hash<std::pair<long long int, long long int> &