結果

問題 No.1176 少ない質問
ユーザー 👑 H20H20
提出日時 2021-09-26 17:20:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 176 ms / 1,000 ms
コード長 129 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 87,112 KB
実行使用メモリ 76,844 KB
最終ジャッジ日時 2023-09-19 02:55:44
合計ジャッジ時間 5,436 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 172 ms
76,508 KB
testcase_01 AC 161 ms
76,464 KB
testcase_02 AC 176 ms
76,504 KB
testcase_03 AC 174 ms
76,464 KB
testcase_04 AC 165 ms
76,464 KB
testcase_05 AC 171 ms
76,612 KB
testcase_06 AC 166 ms
76,464 KB
testcase_07 AC 167 ms
76,712 KB
testcase_08 AC 164 ms
76,556 KB
testcase_09 AC 173 ms
76,668 KB
testcase_10 AC 157 ms
76,584 KB
testcase_11 AC 151 ms
76,748 KB
testcase_12 AC 167 ms
76,616 KB
testcase_13 AC 154 ms
76,660 KB
testcase_14 AC 176 ms
76,588 KB
testcase_15 AC 172 ms
76,844 KB
testcase_16 AC 168 ms
76,640 KB
testcase_17 AC 173 ms
76,460 KB
testcase_18 AC 159 ms
76,464 KB
testcase_19 AC 168 ms
76,460 KB
testcase_20 AC 83 ms
75,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = int(input())
ans = 10**18
for n in range(2,10**5):
    m = 1
    while A>n**m:
        m+=1
    ans = min(ans,n*m)
print(ans)
0