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