Problem zanesgift
User YH
Submission Time 2024-03-14 10:36:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

zanesgift.cpp: In function ‘int smallest_no_of_removals(int, int, int)’:
zanesgift.cpp:12:95: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
12 | if (memoisation_grid[curr_index][largest_subgroup] != -1) return memoisation_grid[curr_index];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int*