結果

問題 No.154 市バス
ユーザー angel_p_57angel_p_57
提出日時 2016-06-10 21:15:18
言語 Perl
(5.38.2)
結果
AC  
実行時間 721 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 6,656 KB
最終ジャッジ日時 2024-04-21 09:30:02
合計ジャッジ時間 3,399 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 330 ms
6,656 KB
testcase_01 AC 324 ms
6,528 KB
testcase_02 AC 328 ms
6,656 KB
testcase_03 AC 332 ms
6,528 KB
testcase_04 AC 323 ms
6,528 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 3 ms
5,376 KB
testcase_07 AC 721 ms
6,656 KB
testcase_08 AC 3 ms
5,376 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