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

Compile Error

grid.cpp:3:77: error: ‘_map’ has not been declared
3 | long long solve(pair<long long,long long>p,set<pair<long long,long long>>s, _map<pair<long long,long long> ,long long> m = {}){
| ^~~~
grid.cpp:3:81: error: expected ‘,’ or ‘...’ before ‘<’ token
3 | long long solve(pair<long long,long long>p,set<pair<long long,long long>>s, _map<pair<long long,long long> ,long long> m = {}){
| ^
grid.cpp: In function ‘long long int solve(std::pair<long long int, long long int>, std::set<std::pair<long long int, long long int> >, int)’:
grid.cpp:4:6: error: ‘m’ was not declared in this scope
4 | if (m.find(p)!=m.end()){
| ^
grid.cpp:18:3: error: ‘m’ was not declared in this scope
18 | m[p] =