#include<bits/stdc++.h> using namespace std; int main(){ float n=100,h=0; while(n>=0.5){ n=n/2; h++; } cout<<h; } /************************************************************** Problem: 1062 User: hongjiaming Language: C++ Result: Accepted Time:3 ms Memory:2072 kb ****************************************************************/