結果

問題 No.154 市バス
ユーザー angel_p_57angel_p_57
提出日時 2016-06-10 21:15:18
言語 Perl
(5.38.0)
結果
AC  
実行時間 685 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 6,072 KB
最終ジャッジ日時 2023-08-03 11:38:04
合計ジャッジ時間 3,186 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 291 ms
5,768 KB
testcase_01 AC 292 ms
5,952 KB
testcase_02 AC 290 ms
5,996 KB
testcase_03 AC 280 ms
5,924 KB
testcase_04 AC 286 ms
6,024 KB
testcase_05 AC 3 ms
4,668 KB
testcase_06 AC 2 ms
4,636 KB
testcase_07 AC 685 ms
6,072 KB
testcase_08 AC 3 ms
4,508 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "possible" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;map{$_=reverse;$i++while s/^\s*(R(R*)G([^G]*)W|R(R*)G(R*?G.*?)W)/$2.$3=~y#W##dr.$4.$5/e;$i=!print"im"x!($i&&!$_),possible,$/}<>
0