結果
| 問題 |
No.1176 少ない質問
|
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-11-17 10:11:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 109 bytes |
| コンパイル時間 | 308 ms |
| コンパイル使用メモリ | 82,692 KB |
| 実行使用メモリ | 53,436 KB |
| 最終ジャッジ日時 | 2024-09-26 05:17:54 |
| 合計ジャッジ時間 | 1,903 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 1 |
ソースコード
x = int(input())
b, t = 0, 0
while 2**b < x:
b += 1
while 3**t < x:
t += 1
print(min(2 * b, 3 * t))
ohana