結果

問題 No.1010 折って重ねて
ユーザー syosinnsya8syosinnsya8
提出日時 2020-03-31 23:31:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 167 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-25 12:52:19
合計ジャッジ時間 2,834 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 43
権限があれば一括ダウンロードができます

ソースコード

diff #

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