The test cases for yesterday's CodeChef Starters 59, Problem Maximum Subarray, were so poor that the non-ideal solution was awarded AC.
I have all I need, and the code is accepted, but it does not work on the following test case
1
5
-10 -10 10 -10 -10
5
10 10 10 10 10
The correct output should be 50, the non-ideal code generates a result of 60.
Please make test cases better, Codechef.
Link to Problem -> https://www.codechef.com/submit/MAXSUBARR
Link to Ideal AC Code-> https://www.codechef.com/viewsolution/76176198
Link to Non-Ideal AC Code -> https://www.codechef.com/viewsolution/76175855
Always tag CodeChef_admin and some other members.
done that, thanks