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