結果

問題 No.1305 Speak of the Devil
ユーザー naniwazu
提出日時 2020-12-02 01:26:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 122 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 82,180 KB
実行使用メモリ 54,492 KB
最終ジャッジ日時 2024-09-13 03:38:04
合計ジャッジ時間 2,143 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

p,q = map(int,input().split())
ans = q
if p == 1:
    ans = min(ans,1)
else:
    ans = min(ans,p**3*(1-1/p)**2)
print(ans)
0