12 条题解
-
512209水宇辰 (12209水宇辰) LV 9 @ 2022-01-27 09:43:42
#include<iostream> #include<cmath> using namespace std; int Count(int b) { return log2(b)+1; } int main() { int b; cin>>b; cout<<Count(b); return 0; }
-
02024-08-07 07:54:57@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
} -
-22021-12-31 16:23:06@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
} -
-22021-12-31 16:23:01@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
} -
-22021-12-31 16:22:50@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
}书上有这个函数
-
-32021-12-31 16:23:32@
v
-
-32021-12-31 16:23:29@
v
-
-32021-12-31 16:23:21@
v
-
-32021-12-31 16:23:13@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
}#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
} -
-32021-12-31 16:23:10@
#include<iostream>
#include<cmath>
using namespace std;
int Count(int b)
{
return log2(b)+1;
}
int main()
{
int b;
cin>>b;
cout<<Count(b);
return 0;
} -
-42021-12-31 16:23:27@
v
-
-62021-12-30 16:18:52@
#include <iostream>
#include <cmath>
#include <cstdio>
using namespace std;
int Count(int x)
{
return log2(x)+1;
}
int main()
{int x;
cin>>x;
cout<<Count(x)<<endl;
return 0;
}
- 1
信息
- ID
- 1041
- 难度
- 2
- 分类
- (无)
- 标签
- 递交数
- 125
- 已通过
- 69
- 通过率
- 55%
- 上传者