結果

問題 No.1053 ゲーミング棒
ユーザー tailstails
提出日時 2020-06-02 15:05:05
言語 Perl
(5.38.0)
結果
AC  
実行時間 1,463 ms / 2,000 ms
コード長 64 bytes
コンパイル時間 224 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 17,748 KB
最終ジャッジ日時 2023-08-15 15:35:11
合計ジャッジ時間 11,873 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,564 KB
testcase_01 AC 3 ms
4,504 KB
testcase_02 AC 2 ms
4,564 KB
testcase_03 AC 2 ms
4,496 KB
testcase_04 AC 1 ms
4,548 KB
testcase_05 AC 2 ms
4,636 KB
testcase_06 AC 2 ms
4,636 KB
testcase_07 AC 2 ms
4,664 KB
testcase_08 AC 2 ms
4,600 KB
testcase_09 AC 2 ms
4,564 KB
testcase_10 AC 2 ms
4,772 KB
testcase_11 AC 2 ms
4,756 KB
testcase_12 AC 2 ms
4,628 KB
testcase_13 AC 2 ms
4,572 KB
testcase_14 AC 2 ms
4,676 KB
testcase_15 AC 2 ms
4,628 KB
testcase_16 AC 3 ms
4,492 KB
testcase_17 AC 2 ms
4,600 KB
testcase_18 AC 2 ms
4,720 KB
testcase_19 AC 2 ms
4,560 KB
testcase_20 AC 2 ms
4,640 KB
testcase_21 AC 2 ms
4,640 KB
testcase_22 AC 2 ms
4,492 KB
testcase_23 AC 1,461 ms
17,748 KB
testcase_24 AC 1,433 ms
17,720 KB
testcase_25 AC 1,463 ms
17,552 KB
testcase_26 AC 1,425 ms
17,632 KB
testcase_27 AC 2 ms
4,692 KB
testcase_28 AC 2 ms
4,504 KB
testcase_29 AC 2 ms
4,788 KB
testcase_30 AC 434 ms
5,332 KB
testcase_31 AC 436 ms
5,392 KB
testcase_32 AC 439 ms
5,424 KB
testcase_33 AC 440 ms
5,844 KB
testcase_34 AC 452 ms
6,028 KB
testcase_35 AC 817 ms
6,068 KB
testcase_36 AC 850 ms
5,980 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #

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