結果

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

ソースコード

diff #
raw source code

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