結果

問題 No.154 市バス
コンテスト
ユーザー %20
提出日時 2017-03-03 15:55:54
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
WA  
実行時間 -
コード長 92 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 209 ms
コンパイル使用メモリ 6,656 KB
実行使用メモリ 6,656 KB
最終ジャッジ日時 2026-04-30 17:56:45
合計ジャッジ時間 4,491 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 6 WA * 2
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "im" may clash with future reserved word at Main.pl line 1.
Unquoted string "possible" may clash with future reserved word at Main.pl line 1.
Name "main::R" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

<>;$W=$G=$R=$|=0,(map{++$$_;$||=/G/?!$W--:/R/&&!$G--}/./g),print$||$G?im:'',possible,$/for<>
0