結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー otsuneko
提出日時 2021-05-14 16:15:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 139 bytes
コンパイル時間 522 ms
コンパイル使用メモリ 82,436 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2024-10-01 20:45:08
合計ジャッジ時間 2,250 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

biscuit = 1
cnt = 0
while 1:
    if biscuit >= N:
        print(cnt)
        break
    biscuit *= 2
    cnt += 1
0