Problem gecko
User AltheaZ
Submission Time 2023-07-14 16:54:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gecko.cpp: In function ‘int findMax(int, int, int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)’:
gecko.cpp:13:32: error: too few arguments to function ‘int findMax(int, int, int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)’
13 | count+=findMax(i+1,j,h,w,tiles);
| ^
gecko.cpp:5:5: note: declared here
5 | int findMax(int i,int j,int h,int w,vector<vector<int>>&tiles,vector<vector<int>>&memo){
| ^~~~~~~
gecko.cpp:15:56: error: too few arguments to function ‘int findMax(int, int, int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)’
15 | count=max(count,tiles[i][j]+findMax(i+1,j-1,h,w,tiles));
| ^
gecko.cpp:5:5: note: declared here
5 | int findMax(int i,int j,int h