| 比赛 | cmath生日赛 | 评测结果 | AAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 讨厌整除的小明 | 最终得分 | 100 |
| 用户昵称 | ONCE AGAIN | 运行时间 | 0.075 s |
| 代码语言 | C++ | 内存使用 | 13.66 MiB |
| 提交时间 | 2017-06-13 20:37:10 | ||
#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
typedef long long ll;
int n;
ll a;
inline void work(){
scanf("%d",&n);
while(n--){
scanf("%lld",&a);
printf("%lld\n",(ll)(log2(a)+1));
}
}
int main(){
freopen("ming.in","r",stdin);
freopen("ming.out","w",stdout);
work();
return 0;
}