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

Compile Error

gecko.cpp: In function ‘int main()’:
gecko.cpp:34:21: error: redeclaration of ‘std::vector<std::vector<int> > tiles’
34 | vector<vector<int>>tiles(h,vector<int>(w,-1))
| ^~~~~
gecko.cpp:27:21: note: ‘std::vector<std::vector<int> > tiles’ previously declared here
27 | vector<vector<int>>tiles(h,vector<int>(w));
| ^~~~~
gecko.cpp:38:3: error: ‘count’ was not declared in this scope
38 | count=max(count,findMax(0,k,h,w,tiles,memo));
| ^~~~~
gecko.cpp:38:41: error: ‘memo’ was not declared in this scope
38 | count=max(count,findMax(0,k,h,w,tiles,memo));
| ^~~~
gecko.cpp:40:8: error: ‘count’ was not declared in this scope
40 | cout<<count;
| ^~~~~