結果
| 問題 | 
                            No.1010 折って重ねて
                             | 
                    
| コンテスト | |
| ユーザー | 
                             integer
                         | 
                    
| 提出日時 | 2020-04-07 21:13:42 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 277 bytes | 
| コンパイル時間 | 90 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-08 01:39:37 | 
| 合計ジャッジ時間 | 2,370 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 2 | 
| other | WA * 43 | 
ソースコード
x, y, h = map(int, input().split())
h = h / 1000
count = 0
while True:
    if x < y:
        if h > y:
            break
        y /= 2
        h *= 2
        count += 1
    else:
        if h > x:
            break
        x /= 2
        h *= 2
        count += 1
print(count)
            
            
            
        
            
integer