Please explain why my code is not passing all the test cases
Please explain why my code is not passing all the test cases

on line 54 u wrote
merge_sort(ar , 0 , mid)
it should be merge_sort(ar , s, mid)
without declaring arrays globally,why it is giving run time error
size of array supported globally is more than that can be declared inside function
runguard: warning: timelimit exceeded (wall time): aborting command runguard: warning: command terminated with signal 15. The program is giving this error but passing test cases.Why this error is arising
please share code for which this error arises
The error arises when u do not provide any input and the code was really wanting some input
only then this error comes
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.