Problem | lunchbox |
---|---|
User | Water |
Submission Time | 2023-09-16 23:30:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:72:1: error: expected declaration before ‘}’ token
72 | }
| ^
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:84:15: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive]
84 | mergeSort(A[m], 0, m-1);
| ~~~^
| |
| int
lunchbox.cpp:62:20: note: initializing argument 1 of ‘void mergeSort(int*, int, int)’
62 | void mergeSort(int array[], int const begin, int const end)
| ~~~~^~~~~~~