結果

問題 No.388 階段 (1)
ユーザー macaronmacaron
提出日時 2023-10-07 00:19:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 384 ms
コンパイル使用メモリ 10,716 KB
実行使用メモリ 8,264 KB
最終ジャッジ日時 2023-10-07 00:19:32
合計ジャッジ時間 1,649 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
8,132 KB
testcase_01 AC 15 ms
8,100 KB
testcase_02 AC 15 ms
7,828 KB
testcase_03 AC 14 ms
8,140 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,856 KB
testcase_06 AC 14 ms
7,880 KB
testcase_07 WA -
testcase_08 AC 15 ms
8,240 KB
testcase_09 AC 15 ms
8,136 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 15 ms
7,916 KB
testcase_14 AC 15 ms
8,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S, F = map(int, input().split())
if S < F:
    print(1)
else:
    for i in range(1, 500):
        if S > F:
            F += F
        else:
            print(i+1)
            quit()
0