結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー ponponpopponponpop
提出日時 2018-09-02 17:45:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 116 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 82,408 KB
実行使用メモリ 53,492 KB
最終ジャッジ日時 2024-04-09 20:43:52
合計ジャッジ時間 1,651 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,004 KB
testcase_01 AC 31 ms
52,880 KB
testcase_02 AC 31 ms
52,372 KB
testcase_03 AC 32 ms
52,340 KB
testcase_04 AC 30 ms
52,480 KB
testcase_05 WA -
testcase_06 AC 31 ms
52,084 KB
testcase_07 AC 33 ms
52,908 KB
testcase_08 AC 33 ms
52,368 KB
testcase_09 AC 32 ms
52,196 KB
testcase_10 AC 32 ms
52,516 KB
testcase_11 AC 32 ms
52,280 KB
testcase_12 AC 31 ms
51,940 KB
testcase_13 AC 32 ms
52,340 KB
testcase_14 AC 31 ms
52,012 KB
testcase_15 AC 33 ms
53,492 KB
testcase_16 AC 31 ms
51,940 KB
testcase_17 AC 32 ms
52,520 KB
testcase_18 AC 31 ms
52,084 KB
testcase_19 AC 31 ms
53,304 KB
testcase_20 AC 31 ms
53,148 KB
testcase_21 AC 31 ms
51,692 KB
testcase_22 AC 31 ms
52,580 KB
testcase_23 AC 31 ms
52,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
total=1
for i in range(1,100000):
    total=total *2
    if total >=n:
        print(i)
        break
0