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