Problem grid
User Henries
Submission Time 2024-10-16 11:26:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

grid.cpp:3:130: 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> >]’
3 | void solve(pair<long long,long long>p,set<pair<long long,long long>>s, unordered_map<pair<long long,long long> ,long long> m = {}){
| ^
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,