結果

問題 No.154 市バス
ユーザー tailstails
提出日時 2015-02-17 23:54:42
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 6,784 KB
最終ジャッジ日時 2024-04-21 07:45:59
合計ジャッジ時間 5,596 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 3 ms
5,376 KB
testcase_06 WA -
testcase_07 AC 925 ms
6,656 KB
testcase_08 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "impossible" may clash with future reserved word at Main.pl line 7.
Unquoted string "possible" may clash with future reserved word at Main.pl line 7.
Main.pl syntax OK

ソースコード

diff #

<>;for(<>){
    while(y/W//>y/R//){
	s/W//;
    }
    while(s/(.*)W(.*)G(.*)R$/$1$2$3/){
    }
    print /[GR]/?impossible:possible,$/;
}
0