| Problem | collectmushrooms6 |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-18 16:42:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:10:36: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair<int, int>; _Tp = char; _Hash = std::hash<std::pair<int, int> >; _Pred = std::equal_to<std::pair<int, int> >; _Alloc = std::allocator<std::pair<const std::pair<int, int>, char> >]’
10 | unordered_map <pair<int,int>,char> m;
| ^
In file included from /usr/include/c++/9/unordered_map:47,
from collectmushrooms6.cpp:3:
/usr/include/c++/9/bits/unordered_map.h:141:7: note: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair<int, int>; _Tp = char; _Hash = std::hash<std::pair<int, int> >; _Pred = std::equal_to<std::pair<int, int> >; _Alloc = std::allocator<std::pair<const