mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-10 08:10:27 +08:00
16 lines
161 B
C++
16 lines
161 B
C++
#include <iostream>
|
|
#include <iomanip>
|
|
using namespace std;
|
|
int main(){
|
|
int a,sum=1,b=0;
|
|
cin >>a;
|
|
while(sum<a){
|
|
sum*=2;
|
|
b++;
|
|
}
|
|
cout <<b;
|
|
return 0;
|
|
}
|
|
|
|
|