0_0_25476495_8248.cpp: In function 'void sort(int*, int, int, int*)':
0_0_25476495_8248.cpp:34:16: error: invalid conversion from 'int' to 'int*' [-fpermissive]
sort(left,mid);
^
0_0_25476495_8248.cpp:34:16: error: too few arguments to function 'void sort(int*, int, int, int*)'
0_0_25476495_8248.cpp:29:6: note: declared here
void sort(int arr[],int left,int right,int temp[])
^
0_0_25476495_8248.cpp:35:11: error: invalid conversion from 'int' to 'int*' [-fpermissive]
sort(mid+1,right);
^
0_0_25476495_8248.cpp:35:19: error: too few arguments to function 'void sort(int*, int, int, int*)'
sort(mid+1,right);
^
0_0_25476495_8248.cpp:29:6: note: declared here
void sort(int arr[],int left,int right,int temp[])
^
0_0_25476495_8248.cpp:36:23: error: expected ')' before ';' token
merge(left,mid,right;
^
0_0_25476495_8248.cpp: In function 'int main()':
0_0_25476495_8248.cpp:52:13: error: too few arguments to function 'void sort(int*, int, int, int*)'
sort(0,n-1);
^
0_0_25476495_8248.cpp:29:6: note: declared here
void sort(int arr[],int left,int right,int temp[])
^
|