結果
| 問題 | No.2416 vs Slime |
| コンテスト | |
| ユーザー |
310icecrystal
|
| 提出日時 | 2023-09-16 20:55:16 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 229 bytes |
| 記録 | |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 1,406,180 KB |
| 最終ジャッジ日時 | 2026-03-25 03:37:29 |
| 合計ジャッジ時間 | 44,988 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | MLE * 1 |
| other | WA * 15 TLE * 11 MLE * 11 |
ソースコード
from collections import deque
H,A = map(int,input().split())
ans = 0
Deq = deque()
Deq.append(H)
while Deq:
h = Deq.popleft()
h2 = h//2
ans += 1
if h2 >= 1:
Deq.append(h2)
Deq.append(h2)
print(ans)
310icecrystal