title: Minimum Cost Make Array Size 1 Removing Larger Pairs
signature: minimum_cost_make_array_size_1_removing_larger_pairs <- function(a, n) {
source_py: def minimum_cost_make_array_size_1_removing_larger_pairs(a, n):
      return ((n - 1) * min(a))
source_cpp: int minimum_cost_make_array_size_1_removing_larger_pairs(vector<int> a, int n) {
    return ( n - 1 ) * ( * min_element(a.begin(), a.end()) );
  }