Computer Science, asked by manjusha16617, 8 months ago

Given an array of integers, perform atmost K operations so that the sum of elements of final array is minimum. An operation is defined as follows - Consider any 1 element from the array, arr[i]. Replace arr[i] by floor(arr[i]/2). Perform next operations on updated array. The task is to minimize the sum after atmost K operations

Answers

Answered by ayushsandeep1986rwr
0

Answer:

nsndnsnnsjsjslaallalalalala

Similar questions