結果

問題 No.517 壊れたアクセサリー
コンテスト
ユーザー 👑 tails
提出日時 2017-05-29 00:07:59
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 107 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 79 ms
コンパイル使用メモリ 8,100 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2026-04-09 21:36:25
合計ジャッジ時間 1,113 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 #
raw source code

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