結果
| 問題 | No.298 話の伝達 |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2015-11-06 23:31:33 |
| 言語 | Perl (5.40.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-13 13:50:15 |
| 合計ジャッジ時間 | 1,528 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
}
}
}
print pop@p
tails