Problem | wheelofmisfortune |
---|---|
User | Student101 |
Submission Time | 2024-10-19 11:34:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wheelofmisfortune.cpp: In function ‘int countValidWheels(int, int, int, const std::vector<std::pair<int, int> >&)’:
wheelofmisfortune.cpp:16:57: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<int, int>; _Hash = std::hash<std::pair<int, int> >; _Pred = std::equal_to<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >]’
16 | unordered_set<pair<int, int>, hash<pair<int, int>>> forbidden;
| ^~~~~~~~~
In file included from /usr/include/c++/9/unordered_set:47,
from wheelofmisfortune.cpp:3:
/usr/include/c++/9/bits/unordered_set.h:135:7: note: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<int, int>; _Hash = std::hash<std::pair<int, int> >; _Pred = s