I was solving this problem

https://www.codechef.com/problems/MOVENE01?tab=statement

My solution to this problem was https://www.codechef.com/viewsolution/83422779

which I think is correct, but it’s not accepting my solution maybe because there’s a problem in test cases “- 3 1 -2 4 7 -1” there’s a whitespace between - and 3 so it doesn’t consider it as a negative number.