結果
| 問題 |
No.204 ゴールデン・ウィーク(2)
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2015-05-08 22:39:51 |
| 言語 | Perl (5.40.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 147 bytes |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 6,952 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-13 11:35:13 |
| 合計ジャッジ時間 | 1,692 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 WA * 25 |
コンパイルメッセージ
Unquoted string "o" may clash with future reserved word at Main.pl line 3. Main.pl syntax OK
ソースコード
$n=<>+0;$a=<>.<>;$r=0;
for$j(0..13){
$_=$a;s/\n//;pos=$j;s/\Gx{0,$n}/o x length$&/e;
$x=0;$i=0;
/o/?$r+=$-=++$x-$r:($x=0),$i++for/./g;
}
print$r
tails