Function to find the minimum possible sum of the array elements after performing the given operation
double minPossibleSum ( double a [ ] , int n , double x ) { double mxSum = maxSubArraySum ( a , n ) ; double sum = 0 ;