結果
問題 |
No.1176 少ない質問
|
ユーザー |
![]() |
提出日時 | 2020-11-01 01:16:01 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 307 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 75,648 KB |
最終ジャッジ日時 | 2024-07-22 05:33:11 |
合計ジャッジ時間 | 4,556 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 1 |
ソースコード
N=int(input()) ans=int(1e100) for i in range(100): if i==0: continue x=pow(N,1/i) x=int(x) #print(x**i) if(x**i>N): ans=min(ans,x*i) for j in range(1000): x+=1 if(x**i>N): ans=min(ans,x*i) if N==int(1e18): x=1/0 print(ans)