题解
2025-07-13 22:06:29
发布于:江苏
16阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
string s;
cin>>s;
int cnt=0,x=s[0]-'0';
while(x%2==0){
cnt++;
x/=2;
}
cnt+=s.size()-1;
cout<<cnt;
return 0;
}
这里空空如也
有帮助,赞一个