Problem | feast |
---|---|
User | Pyrros |
Submission Time | 2023-03-11 16:53:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
feast.cpp:16:11: error: redefinition of ‘long long int memoiz1 [11000][11000][2]’
16 | long long memoiz1[11000][11000][2];
| ^~~~~~~
feast.cpp:6:11: note: ‘long long int memoiz1 [11000][11000][2]’ previously declared here
6 | long long memoiz1[11000][11000][2];
| ^~~~~~~
feast.cpp: In function ‘ll solve(ll, ll, int, ll, std::vector<long long int>&, int)’:
feast.cpp:51:5: error: ‘memoiz11’ was not declared in this scope; did you mean ‘memoiz10’?
51 | if(memoiz11[curr][last][take] != 0) return memoiz11[curr][last][take];
| ^~~~~~~~
| memoiz10
feast.cpp:89:3: error: ‘memoiz11’ was not declared in this scope; did you mean ‘memoiz10’?
89 | memoiz11[curr][last][take] = maks;
| ^~~~~~~~
| memoiz10