結果

問題 No.1176 少ない質問
ユーザー googol_S0googol_S0
提出日時 2020-08-21 21:24:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 1,000 ms
コード長 133 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 87,628 KB
実行使用メモリ 72,132 KB
最終ジャッジ日時 2023-08-05 07:25:18
合計ジャッジ時間 2,825 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
72,120 KB
testcase_01 AC 71 ms
71,840 KB
testcase_02 AC 69 ms
72,112 KB
testcase_03 AC 71 ms
72,064 KB
testcase_04 AC 72 ms
72,120 KB
testcase_05 AC 67 ms
71,876 KB
testcase_06 AC 68 ms
71,572 KB
testcase_07 AC 69 ms
71,684 KB
testcase_08 AC 70 ms
72,132 KB
testcase_09 AC 69 ms
71,812 KB
testcase_10 AC 70 ms
71,480 KB
testcase_11 AC 71 ms
71,716 KB
testcase_12 AC 71 ms
71,624 KB
testcase_13 AC 67 ms
71,604 KB
testcase_14 AC 66 ms
71,600 KB
testcase_15 AC 68 ms
71,572 KB
testcase_16 AC 69 ms
71,840 KB
testcase_17 AC 69 ms
71,600 KB
testcase_18 AC 72 ms
71,876 KB
testcase_19 AC 71 ms
71,952 KB
testcase_20 AC 72 ms
71,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import * 
A=int(input())
EPS=1-10**-12
P=2*int(log(A,2)+EPS)
for i in range(3,P+1):
  P=min(P,i*int(log(A,i)+EPS))
print(P)
0