Merge sort my code is correct but its showing run error on submission

my code is correct but its showing run error on submission
my code
https://ide.codingblocks.com/s/40918

questn
https://hack.codingblocks.com/contests/c/512/395

Hey Jai, check the problem’s constraint, it is given that 1<=N<=2*10^5. So according to that the size of temp array you have taken is very less, increase the size of temp array from 10^3 to 10^6.