結果

問題 No.787 Mice and Traitors(ネズミ達と裏切り者)
ユーザー %20%20
提出日時 2019-02-08 22:11:24
言語 Perl
(5.38.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 63 bytes
コンパイル時間 452 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 5,384 KB
最終ジャッジ日時 2023-09-14 03:42:29
合計ジャッジ時間 1,009 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,208 KB
testcase_01 AC 5 ms
5,096 KB
testcase_02 AC 5 ms
5,116 KB
testcase_03 AC 6 ms
5,176 KB
testcase_04 AC 5 ms
5,384 KB
testcase_05 AC 6 ms
5,372 KB
testcase_06 AC 6 ms
5,168 KB
testcase_07 AC 5 ms
5,356 KB
testcase_08 AC 5 ms
5,204 KB
testcase_09 AC 6 ms
5,200 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$_/=100for($P,$Q)=glob<>;
print$P*$Q/($P*$Q+(1-$P)*(1-$Q))*100
0