結果
| 問題 | No.298 話の伝達 |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2015-11-06 23:42:25 |
| 言語 | Perl (5.42.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 158 bytes |
| 記録 | |
| コンパイル時間 | 320 ms |
| コンパイル使用メモリ | 7,976 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 05:33:14 |
| 合計ジャッジ時間 | 3,584 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 11 |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
$n=<>;@r=<>;
@p=1;
for(1..100){
for$i(1..$n-1){
$p[$i]=0;
for(@r){
if(/ $i /){
$p[$i]+=(1-$p[$i])*$p[$`]*$'/100;
}
}
}
}
printf"%.9f",pop@p
tails