错代码
#include <bits/stdc++.h> using namespace std; int main(){ int a,cnt; while(a!=1){ a/=2; cnt+=1; if(a==1) break; } cout<<cnt; }