結果
| 問題 | No.1010 折って重ねて |
| コンテスト | |
| ユーザー |
integer
|
| 提出日時 | 2020-04-07 20:55:09 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 290 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,996 KB |
| 最終ジャッジ日時 | 2026-08-12 01:06:33 |
| 合計ジャッジ時間 | 7,307 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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