結果

問題 No.154 市バス
ユーザー tailstails
提出日時 2015-02-18 11:55:50
言語 Perl
(5.38.2)
結果
AC  
実行時間 831 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 7,680 KB
最終ジャッジ日時 2024-04-21 08:04:33
合計ジャッジ時間 4,679 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 562 ms
7,680 KB
testcase_01 AC 558 ms
7,680 KB
testcase_02 AC 561 ms
7,680 KB
testcase_03 AC 441 ms
7,680 KB
testcase_04 AC 520 ms
7,680 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 4 ms
5,376 KB
testcase_07 AC 831 ms
7,680 KB
testcase_08 AC 4 ms
5,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 1.
Unquoted string "im" may clash with future reserved word at Main.pl line 1.
Unquoted string "possible" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;$w=$f=$g=$r=!print!(/^(W(?{$w+=$f=1})|G(??{$f=$w<++$g})|R(??{$g<++$r}))*$/&$g==$r&!$f)&&im,possible,$/for<>
0