結果

問題 No.787 Mice and Traitors(ネズミ達と裏切り者)
ユーザー kohei2019kohei2019
提出日時 2022-04-10 18:06:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 552 ms
コンパイル使用メモリ 87,352 KB
実行使用メモリ 71,684 KB
最終ジャッジ日時 2023-08-20 23:53:26
合計ジャッジ時間 2,183 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,496 KB
testcase_01 AC 69 ms
71,344 KB
testcase_02 AC 71 ms
71,628 KB
testcase_03 AC 71 ms
71,352 KB
testcase_04 AC 71 ms
71,500 KB
testcase_05 AC 70 ms
71,468 KB
testcase_06 AC 68 ms
71,184 KB
testcase_07 AC 71 ms
71,356 KB
testcase_08 AC 71 ms
71,684 KB
testcase_09 AC 71 ms
71,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P,Q = map(lambda x:float(x),input().split())
p,q = P/100,Q/100
ans = p*q/(p*q+(1-p)*(1-q))
print(ans*100)
0