結果

問題 No.1176 少ない質問
ユーザー Kite_kuma
提出日時 2020-10-16 21:17:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 81,932 KB
実行使用メモリ 70,952 KB
最終ジャッジ日時 2024-07-20 21:08:00
合計ジャッジ時間 2,288 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

a = int(input())
ans = 10000000000000000000 * a
for n in range(2, 1000):
    res = 1
    cnt = 0
    while (res < a):
        res *= n
        cnt += 1
    print(res,cnt,n)
    ans = min(ans, cnt * (n))
print(ans)
0