結果

問題 No.154 市バス
ユーザー %20%20
提出日時 2017-03-05 02:45:37
言語 Perl
(5.38.2)
結果
AC  
実行時間 624 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-21 10:12:20
合計ジャッジ時間 4,872 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 618 ms
6,812 KB
testcase_01 AC 613 ms
6,944 KB
testcase_02 AC 624 ms
6,940 KB
testcase_03 AC 622 ms
6,944 KB
testcase_04 AC 617 ms
6,940 KB
testcase_05 AC 3 ms
6,940 KB
testcase_06 AC 3 ms
6,940 KB
testcase_07 AC 583 ms
6,940 KB
testcase_08 AC 3 ms
6,940 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #

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