結果

問題 No.1010 折って重ねて
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-03-30 23:33:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 81,972 KB
実行使用メモリ 54,032 KB
最終ジャッジ日時 2024-04-27 13:21:18
合計ジャッジ時間 3,139 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,784 KB
testcase_01 AC 34 ms
51,752 KB
testcase_02 AC 33 ms
52,900 KB
testcase_03 AC 32 ms
52,512 KB
testcase_04 AC 32 ms
53,184 KB
testcase_05 AC 38 ms
52,668 KB
testcase_06 AC 34 ms
52,156 KB
testcase_07 AC 33 ms
52,620 KB
testcase_08 AC 32 ms
52,224 KB
testcase_09 AC 34 ms
52,200 KB
testcase_10 AC 34 ms
52,332 KB
testcase_11 AC 33 ms
53,196 KB
testcase_12 AC 32 ms
52,880 KB
testcase_13 AC 32 ms
52,476 KB
testcase_14 AC 32 ms
52,268 KB
testcase_15 AC 31 ms
52,812 KB
testcase_16 AC 33 ms
52,680 KB
testcase_17 AC 32 ms
53,048 KB
testcase_18 AC 33 ms
52,652 KB
testcase_19 AC 33 ms
52,472 KB
testcase_20 AC 32 ms
52,296 KB
testcase_21 AC 31 ms
53,260 KB
testcase_22 AC 31 ms
52,700 KB
testcase_23 AC 33 ms
52,700 KB
testcase_24 AC 32 ms
52,668 KB
testcase_25 AC 32 ms
53,284 KB
testcase_26 AC 33 ms
51,944 KB
testcase_27 AC 32 ms
52,320 KB
testcase_28 AC 32 ms
52,864 KB
testcase_29 AC 32 ms
53,308 KB
testcase_30 AC 32 ms
52,408 KB
testcase_31 AC 32 ms
53,012 KB
testcase_32 AC 32 ms
52,128 KB
testcase_33 AC 34 ms
52,144 KB
testcase_34 AC 34 ms
52,236 KB
testcase_35 AC 32 ms
53,188 KB
testcase_36 AC 33 ms
53,532 KB
testcase_37 AC 32 ms
52,124 KB
testcase_38 WA -
testcase_39 AC 34 ms
52,732 KB
testcase_40 WA -
testcase_41 AC 33 ms
52,708 KB
testcase_42 AC 32 ms
52,524 KB
testcase_43 AC 34 ms
52,752 KB
testcase_44 AC 35 ms
52,236 KB
testcase_45 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y,h = map(int,input().split())
x,y = x*1000,y*1000
ans = 0
if x > y:
    x,y = y,x
while x > h:
    x //= 2
    h *= 2
    ans += 1
while y > h:
    y //= 2
    h *= 2
    ans += 1

print(ans)
0