#28641: python 簡單解法


godbottle98@gmail.com (z3 0)

School : 國立屏東高級中學
ID : 123589
IP address : [122.121.123.26]
Last Login :
2022-10-28 12:22:37
f044. 2. 史萊姆生態區 (Slime) -- 2020年4月TOI練習賽新手組 | From: [122.121.53.130] | Post Date : 2021-12-22 22:11

a,b = map(int,input().split())
b = b//a
i = 0
c = 0
while b > 0:
    b = b - 2**i
    i += 1
    c += 1
print(c)
 
ZeroJudge Forum