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