結果

問題 No.1176 少ない質問
ユーザー tyawanmusityawanmusi
提出日時 2020-08-21 21:45:19
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 55 ms / 1,000 ms
コード長 131 bytes
コンパイル時間 617 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 7,900 KB
最終ジャッジ日時 2023-08-05 07:54:59
合計ジャッジ時間 2,154 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
7,688 KB
testcase_01 AC 51 ms
7,864 KB
testcase_02 AC 52 ms
7,828 KB
testcase_03 AC 52 ms
7,720 KB
testcase_04 AC 53 ms
7,744 KB
testcase_05 AC 52 ms
7,900 KB
testcase_06 AC 52 ms
7,720 KB
testcase_07 AC 55 ms
7,832 KB
testcase_08 AC 52 ms
7,732 KB
testcase_09 AC 53 ms
7,688 KB
testcase_10 AC 54 ms
7,896 KB
testcase_11 AC 51 ms
7,776 KB
testcase_12 AC 52 ms
7,736 KB
testcase_13 AC 50 ms
7,848 KB
testcase_14 AC 55 ms
7,716 KB
testcase_15 AC 54 ms
7,824 KB
testcase_16 AC 52 ms
7,900 KB
testcase_17 AC 55 ms
7,732 KB
testcase_18 AC 52 ms
7,844 KB
testcase_19 AC 53 ms
7,740 KB
testcase_20 AC 15 ms
7,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
ans=a
for i in range(2,100):
  for j in range(100000):
    if j**i>=a:
      ans=min(ans,j*i)
      break
print(ans)
0