結果

問題 No.517 壊れたアクセサリー
ユーザー tails
提出日時 2017-05-29 00:07:59
言語 Perl
(5.40.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 107 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 5,504 KB
実行使用メモリ 5,632 KB
最終ジャッジ日時 2024-09-21 16:04:45
合計ジャッジ時間 800 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
Useless use of a variable in void context at Main.pl line 1.
Name "main::c" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

/(\pl)(?{++$$1})(.)(?{--${$l{$1}=$2}})^/ for<>;(($_)=@c=grep$$_>1,A..Z)>1?print-1:${print,$_=$l{$_}while$_}
0