結果
| 問題 |
No.1176 少ない質問
|
| コンテスト | |
| ユーザー |
uni_python
|
| 提出日時 | 2020-08-21 22:27:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 493 ms / 1,000 ms |
| コード長 | 497 bytes |
| コンパイル時間 | 203 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 75,392 KB |
| 最終ジャッジ日時 | 2024-10-15 05:55:30 |
| 合計ジャッジ時間 | 10,888 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def main():
mod=10**9+7
A=I()
ans=A
for i in range(2,10**7):
p=1
cnt=0
while True:
if p>=A:
break
else:
p*=i
cnt+=1
temp=i*cnt
ans=min(ans,temp)
print(ans)
main()
uni_python