結果

問題 No.1176 少ない質問
ユーザー ShirotsumeShirotsume
提出日時 2021-10-11 12:10:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 1,000 ms
コード長 184 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 76,008 KB
最終ジャッジ日時 2023-10-13 13:03:06
合計ジャッジ時間 2,907 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
75,588 KB
testcase_01 AC 63 ms
75,824 KB
testcase_02 AC 63 ms
75,724 KB
testcase_03 AC 63 ms
75,784 KB
testcase_04 AC 63 ms
76,000 KB
testcase_05 AC 63 ms
75,852 KB
testcase_06 AC 63 ms
75,656 KB
testcase_07 AC 62 ms
75,768 KB
testcase_08 AC 63 ms
75,848 KB
testcase_09 AC 64 ms
75,780 KB
testcase_10 AC 66 ms
75,832 KB
testcase_11 AC 61 ms
75,864 KB
testcase_12 AC 64 ms
75,912 KB
testcase_13 AC 61 ms
75,920 KB
testcase_14 AC 64 ms
76,008 KB
testcase_15 AC 63 ms
75,772 KB
testcase_16 AC 61 ms
76,008 KB
testcase_17 AC 63 ms
75,588 KB
testcase_18 AC 62 ms
75,728 KB
testcase_19 AC 63 ms
75,820 KB
testcase_20 AC 59 ms
71,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input())
ans = 100000000000000
for n in range(100):
    for m in range(100):
        if n ** m >= a:
            ans = min(n * m, ans)
            break
print(ans)
            
0