For this Question: Given an array of N integers, You can perform the following operation on the array if all the elements in the array are even:-
Divide each element of the array by 2.
Can you find the maximum number of operations you can perform.The first line of input contains a single integer N. The next line of input contains N space separated integers.

<b>Constraints;-</b>
1 &le; N &le; 10<sup>5</sup>
1 &le; Arr[i] &le; 100000Print the number of operations you can perform on the array.Sample Input:-
5
4 64 28 12 28

Sample Output:-
2

Sample Input:-
5
2 4 6 8 1

Sample Output:-
0

In test case 1,after dividing 4 two times,we will have 1 in the first position,which is odd and therefore,cannot be divided further. Therefore, our answer will be 2., I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){


int n;
cin>>n;
int a[n];
int ans=INT_MAX;
int cnt=0;
for(int i=0;i<n;i++){
    cin>>a[i];
    cnt=0;
    while(!(a[i]&1)){
        cnt++;
        a[i]/=2;
    }
    ans=min(ans,cnt);
}
cout<<ans;
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?