Function to count the number of sub - arrays with sum strictly greater than the remaining elements of array
static int Count_subarray ( int arr [ ] , int n ) { int subarray_sum , remaining_sum , count = 0 ;