Problem | lunchbox |
---|---|
User | Water |
Submission Time | 2023-09-16 23:24:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:64:15: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive]
64 | mergeSort(A[m], 0, m-1);
| ~~~^
| |
| int
lunchbox.cpp:43:20: note: initializing argument 1 of ‘void mergeSort(int*, int, int)’
43 | void mergeSort(int arr[], int l, int r){
| ~~~~^~~~~