💡 MERGESORT problem

the code is running fine on ide and giving correct output but its showing run error on submitting

modify the size of temp array according to the constraints and
size of input array should be a[n]
and temp[10000000]