結果

問題 No.787 Mice and Traitors(ネズミ達と裏切り者)
ユーザー brthyyjpbrthyyjp
提出日時 2021-12-02 14:25:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 362 ms
コンパイル使用メモリ 86,516 KB
実行使用メモリ 71,248 KB
最終ジャッジ日時 2023-09-18 10:17:04
合計ジャッジ時間 2,103 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,092 KB
testcase_01 AC 71 ms
71,248 KB
testcase_02 AC 73 ms
70,948 KB
testcase_03 AC 76 ms
71,076 KB
testcase_04 AC 72 ms
70,552 KB
testcase_05 AC 72 ms
70,728 KB
testcase_06 AC 72 ms
70,540 KB
testcase_07 AC 72 ms
70,776 KB
testcase_08 AC 73 ms
70,976 KB
testcase_09 AC 73 ms
71,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p, q = map(float, input().split())
ans = p*q/(p*q+(100-p)*(100-q))
ans *= 100
print(ans)
0