Problem oranges2
User PlayVoltz
Submission Time 2023-09-06 15:13:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘int main()’:
oranges2.cpp:84:24: error: cannot convert ‘long int (*)[n]’ to ‘long int**’
84 | oranges = precalc(i, oranges);
| ^~~~~~~
| |
| long int (*)[n]
oranges2.cpp:43:29: note: initializing argument 2 of ‘long int** precalc(long int, long int**)’
43 | ll** precalc(ll start, ll **oranges){
| ^