← Back to List
15151번: Incomplete Book ↗
Solutions
Python 3
94 B | 94 chars
a,d=map(int,input().split()) s = 0 c = 0 while s <= d: s += a c+=1 a*=2 print(c-1)