#include<cstdio> using namespace std; int main(){ int a,d=1; cin>>a; while(a>1) d++; a/=2; cout<<d; }
https://www.luogu.com.cn/record/163020068