Merge sort giving error i think the code is correct

PLEASE TELL ME OR MARK THE CHANGE IN THE CODE WHERE IT IS WRONG.
HERE IS MY CODE: https://ide.codingblocks.com/s/212947

line 12 declare temp[s+e+1]; not ll temp[10000000];
line 55 change it to a[n]
line 60 call merge_sort(a , 0 , n)

BUT THE SAME CODE PASSES ALL THE TESTCASE ON MY COURSE IDE BUT ITS GIVES ERROR ON HACKERBLOCKS WHY IS THAT HAPPENS??

it is giving error or tle?

I took the a[1000000] and temp[1000000] it ran successfully in my course ide and the same program when I ran on coding blocks ide it shows segmentation fault code dumped

@navin_japes
Sir
constraints alag honge its always a good practice to define arr[n]
instead of a[1000000]

You didn’t corrected my output for subsequences I am not able to print the subsequences in reverse order.
I have already shared you my code

@navin_japes

are u talking about this question ??
i have already told u the changes required