結果

問題 No.154 市バス
ユーザー angel_p_57
提出日時 2016-06-10 22:40:44
言語 Perl
(5.40.0)
結果
AC  
実行時間 387 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 41 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 6,656 KB
最終ジャッジ日時 2024-10-13 08:23:17
合計ジャッジ時間 3,219 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #

<>;map{$$_++,$i||=$R<$G||$G<$W&&$W--&&!$G for reverse=~/./g;$i=$R=$G=$W=!print$i||$R-$G||$W<$R?im:"",possible,$/}<>
0