题解过几天写。。。
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <algorithm>
#include <deque>
#include <iostream>
#include <string>
#include <math.h>
using namespace std;
int main() {
int x;
scanf("%d", &x);
int cnt = 0;
while (x > 0) {
x >>= 1;
cnt++;
}
printf("%d\n", cnt);
//system("pause");
return 0;
}