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

Compile Error

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