結果
問題 |
No.2416 vs Slime
|
ユーザー |
![]() |
提出日時 | 2023-08-12 13:48:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 152 bytes |
コンパイル時間 | 804 ms |
コンパイル使用メモリ | 82,032 KB |
実行使用メモリ | 54,208 KB |
最終ジャッジ日時 | 2024-11-19 16:15:43 |
合計ジャッジ時間 | 3,228 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 WA * 31 |
ソースコード
import math H, A = list(map(int, input().split())) depth = 0 while H >=1: H //= A depth += 1 # print(depth) ans = pow(2, depth-1) + 1 print(ans)