結果

問題 No.1053 ゲーミング棒
コンテスト
ユーザー 👑 tails
提出日時 2020-06-02 15:05:43
言語 Perl
(5.44.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 67 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6 ms
コンパイル使用メモリ 9,688 KB
実行使用メモリ 18,304 KB
最終ジャッジ日時 2026-10-14 21:42:23
合計ジャッジ時間 2,998 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge6_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 34 WA * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Useless use of non-destructive substitution (s///r) 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

<>;$_=<>;s/\d+/$d|=$c[$b=$&]++if$b-$&/ger;print$d?$d>1|$b-$_?-1:1:0
0