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

Compile Error

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> >, std::map<std::pair<long long int, long long int>, long long int>)’:
grid.cpp:18:37: error: too few arguments to function ‘long long int solve(std::pair<long long int, long long int>, std::set<std::pair<long long int, long long int> >, std::map<std::pair<long long int, long long int>, long long int>)’
18 | m[p] = solve({p.first-1,p.second}) + solve({p.first,p.second -1});
| ^
grid.cpp:3:11: note: declared here
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:18:68: error: too few arguments to function ‘long long int solve(std::pair<long long int, long long int>, std::set<