結果

問題 No.1176 少ない質問
ユーザー ate
提出日時 2020-08-21 22:31:53
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-15 05:58:34
合計ジャッジ時間 1,513 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

a = float(input())

ans = 1e20
for n in range(2,100):
  l,r = 0,100
  while r-l>1:
    m = (l+r)//2
    if pow(n,m) > a:
      r = m
    else:
      l = m
  if pow(n,r) > a and ans > n*r:
    ans = n*r

print(ans)
0