B题: #include<iostream> using namespace std; int main() { int i,ans; unsigned long l; for(cin>>i;i>0;i--) { for(cin>>l,ans=1;l>1;l=(l+1)>>1)ans++; cout<<ans<<endl; } }