結果
| 問題 | No.1176 少ない質問 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-21 21:30:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 119 ms / 1,000 ms |
| コード長 | 233 bytes |
| 記録 | |
| コンパイル時間 | 266 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 80,512 KB |
| 最終ジャッジ日時 | 2026-05-03 01:49:21 |
| 合計ジャッジ時間 | 4,743 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
import sys
input = sys.stdin.readline
from collections import *
A = int(input())
ans = A
for i in range(2, 10**6):
now = i
p = 1
while now<A:
now *= i
p += 1
ans = min(ans, i*p)
print(ans)