有效骗分.yeah!
- https://www.luogu.com.cn/record/list?pid=P3152&user=535681
- 数学方法万岁!
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<(int)log2(n)+1; return 0; }
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<(int)log2(n)+1; return 0; }
相关推荐