Test cases failed in maximum subarray problem

sir this program gives correct output in different inputs but during submission it shows no test cases passed

@kumar.shivam3006 hey shivam post the saved link of your code.

https://online.codingblocks.com/player/15206/content/10535/5290

@kumar.shivam3006 hey Shivam this link is can be only access by you only we can’t access it so please go to cb.lk/ide and paste your code there and press save button this will generate a url that url you have to share here.

@kumar.shivam3006 hey shivam your code is not running for t no of test cases so apply a loop which will run your code for t no of test cases design your code according to the constraints given the question.

sir but how it could be done?

@kumar.shivam3006 hey Shivam go through this code to see the changes in your code.updated code with multiple test cases.

sir it still shows run error

@kumar.shivam3006 hey do small modification in the code int arr[n]