結果

問題 No.1010 折って重ねて
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-03-20 22:02:18
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 498 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 71,500 KB
最終ジャッジ日時 2023-08-21 16:37:22
合計ジャッジ時間 5,338 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,136 KB
testcase_01 AC 68 ms
71,140 KB
testcase_02 AC 74 ms
71,212 KB
testcase_03 AC 71 ms
71,200 KB
testcase_04 AC 70 ms
71,212 KB
testcase_05 AC 70 ms
71,256 KB
testcase_06 AC 69 ms
71,500 KB
testcase_07 AC 70 ms
71,368 KB
testcase_08 AC 70 ms
71,332 KB
testcase_09 AC 69 ms
71,212 KB
testcase_10 AC 68 ms
71,240 KB
testcase_11 AC 69 ms
71,364 KB
testcase_12 AC 69 ms
71,200 KB
testcase_13 AC 70 ms
71,208 KB
testcase_14 AC 69 ms
71,364 KB
testcase_15 AC 69 ms
71,260 KB
testcase_16 AC 69 ms
71,316 KB
testcase_17 AC 68 ms
71,476 KB
testcase_18 AC 69 ms
71,264 KB
testcase_19 AC 69 ms
71,212 KB
testcase_20 AC 67 ms
71,484 KB
testcase_21 AC 68 ms
71,368 KB
testcase_22 AC 67 ms
71,252 KB
testcase_23 AC 69 ms
71,244 KB
testcase_24 AC 69 ms
71,156 KB
testcase_25 AC 68 ms
71,208 KB
testcase_26 AC 67 ms
71,260 KB
testcase_27 AC 67 ms
71,184 KB
testcase_28 AC 68 ms
71,432 KB
testcase_29 AC 70 ms
71,428 KB
testcase_30 AC 70 ms
71,376 KB
testcase_31 AC 70 ms
71,284 KB
testcase_32 AC 68 ms
71,368 KB
testcase_33 AC 68 ms
71,428 KB
testcase_34 AC 70 ms
71,472 KB
testcase_35 AC 70 ms
71,312 KB
testcase_36 AC 69 ms
71,260 KB
testcase_37 AC 68 ms
71,056 KB
testcase_38 AC 66 ms
71,040 KB
testcase_39 AC 69 ms
71,176 KB
testcase_40 AC 70 ms
71,236 KB
testcase_41 AC 70 ms
71,476 KB
testcase_42 AC 70 ms
71,332 KB
testcase_43 AC 68 ms
71,060 KB
testcase_44 AC 69 ms
71,340 KB
testcase_45 AC 67 ms
71,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, h = map(int, input().split())
a, b = a*1000, b*1000
a, b = min(a, b), max(a, b)
c = 0
h1=h2=h
while a > h1:
    h1 *= 4
    h2 *= 2
    c += 1
while b > h2:
    h2 *= 4
    c += 1
print(c)
0