showing run time error in max subarray sum even though the given example passes code:- https://ide.codingblocks.com/s/90936
Showing run time error in max subarray sum
@Sammy_091 hey soumya there is basically two error in your code the first one is the reason of the run error is run error and second thing is that do declare your ms and cs inside the first loop.