#include <bits/stdc+
2026-08-11 11:28:21
发布于:广东
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int a,b=0;
int main(){
cin>>a;
for(int i=a;i>=1;i/=2){//是否可以继续锯木头
b++;//天数++
}
cout<<b;
return 0;
}
这里空空如也
2026-08-11 11:28:21
发布于:广东
#include <bits/stdc++.h>
using namespace std;
int a,b=0;
int main(){
cin>>a;
for(int i=a;i>=1;i/=2){//是否可以继续锯木头
b++;//天数++
}
cout<<b;
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个