This is not compiling for me for some reason.
I have at the beginning of the program #include<cmath>
It is giving me an error saying there is something wrong with the pow function.
1 2 3 4 5 6
float n;
for(float i = 0.0; i < total_countries; i++)
if(pow(2,i) < total_countries)
n = i;
float increment = pow(2,n);
cout << increment;
Disch great thinking with using bitwise operators, sometimes you have all the information in front of you but you don't look at the little things! So thanks for opening my eyes!