結果

問題 No.1176 少ない質問
ユーザー anagohirameanagohirame
提出日時 2020-08-21 22:22:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 119 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 63,244 KB
最終ジャッジ日時 2024-04-23 06:04:38
合計ジャッジ時間 1,636 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
62,660 KB
testcase_01 AC 39 ms
61,180 KB
testcase_02 AC 38 ms
62,216 KB
testcase_03 AC 39 ms
62,332 KB
testcase_04 AC 39 ms
61,436 KB
testcase_05 AC 39 ms
61,852 KB
testcase_06 AC 39 ms
62,152 KB
testcase_07 AC 42 ms
63,020 KB
testcase_08 AC 41 ms
60,944 KB
testcase_09 AC 45 ms
63,244 KB
testcase_10 AC 43 ms
60,680 KB
testcase_11 AC 42 ms
59,512 KB
testcase_12 AC 43 ms
61,660 KB
testcase_13 AC 41 ms
60,596 KB
testcase_14 AC 41 ms
61,736 KB
testcase_15 AC 43 ms
63,180 KB
testcase_16 AC 39 ms
61,216 KB
testcase_17 AC 39 ms
62,828 KB
testcase_18 AC 37 ms
60,252 KB
testcase_19 AC 40 ms
61,800 KB
testcase_20 AC 33 ms
53,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input())
ans = a
for i in range(2, 1000):
	j = 1
	while pow(i, j) < a:
		j += 1
	ans = min(ans, i*j)
print(ans)
0