結果
問題 |
No.1176 少ない質問
|
ユーザー |
![]() |
提出日時 | 2020-08-30 16:54:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 211 ms |
コンパイル使用メモリ | 82,468 KB |
実行使用メモリ | 52,944 KB |
最終ジャッジ日時 | 2024-11-15 11:36:10 |
合計ジャッジ時間 | 2,109 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 1 |
ソースコード
N = int(input()) ans = 1 ans2 = 1 temp = 2 temp2 = 3 while temp <= N: ans += 1 temp *= 2 while temp2 <= N: ans2 += 1 temp2 *= 3 if N == 4: print(5) else: print(min(ans*2, ans2*3))