結果

問題 No.1176 少ない質問
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-04-13 21:46:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 1,000 ms
コード長 153 bytes
コンパイル時間 1,100 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 76,108 KB
最終ジャッジ日時 2023-09-12 13:02:10
合計ジャッジ時間 3,711 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
76,080 KB
testcase_01 AC 77 ms
75,800 KB
testcase_02 AC 77 ms
75,792 KB
testcase_03 AC 82 ms
75,784 KB
testcase_04 AC 78 ms
76,044 KB
testcase_05 AC 77 ms
76,104 KB
testcase_06 AC 75 ms
75,800 KB
testcase_07 AC 76 ms
76,104 KB
testcase_08 AC 77 ms
75,888 KB
testcase_09 AC 77 ms
75,996 KB
testcase_10 AC 77 ms
76,092 KB
testcase_11 AC 77 ms
76,040 KB
testcase_12 AC 78 ms
75,920 KB
testcase_13 AC 76 ms
76,020 KB
testcase_14 AC 77 ms
76,080 KB
testcase_15 AC 77 ms
75,896 KB
testcase_16 AC 77 ms
75,896 KB
testcase_17 AC 76 ms
76,020 KB
testcase_18 AC 77 ms
75,792 KB
testcase_19 AC 78 ms
76,108 KB
testcase_20 AC 75 ms
71,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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