A.Count Operations

0

0 votes
Problem

Given an array, count the minimum number of operations to make every element of the array odd.

An operation is defined as picking any element from the array and dividing it by 2.

Constraints:->

1<= N <= 100000

1<= Arr[i] <= 100000

Sample Input
5
1 2 3 4 5
Sample Output
3
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?