Problem oranges2
User PlayVoltz
Submission Time 2023-09-06 15:01:06
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 (*)[100000]’
84 | oranges = precalc(i, oranges);
| ^~~~~~~
| |
| long int (*)[n]
oranges2.cpp:43:27: note: initializing argument 2 of ‘auto precalc(long int, long int (*)[100000])’
43 | auto precalc(ll start, ll oranges[100000][100000]){
| ^