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