showing output at code blocks but TEST CASE says that no -output;
https://ide.codingblocks.com/s/52410
Maximum _Subarray Sum
mention Problem link pls.
Hey Ankush, check the constraints carefully, it is mentioned that 1 <= N <= 100000
while you are taking the array of max size 100 only, and 0 <= A[i] <= 100000000
so you are supposed to take ling long int array instead of int array.
Apart form that update line:8 of your code like this
int ms = INT8_MIN, cs = 0;