Problem | potionseasy |
---|---|
User | havinaaaaash |
Submission Time | 2025-01-27 08:18:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potionseasy.cpp:5:35: error: use of deleted function ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = std::pair<long long int, long long int>; _Tp = 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<const std::pair<long long int, long long int>, long long int> >]’
5 | unordered_map<pair<int, int>, int>memo;
| ^~~~
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from potionseasy.cpp:2:
/usr/include/c++/9/bits/unord