結果

問題 No.1053 ゲーミング棒
ユーザー tailstails
提出日時 2020-06-02 15:05:43
言語 Perl
(5.38.2)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 67 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 17,108 KB
最終ジャッジ日時 2023-08-15 15:36:17
合計ジャッジ時間 2,506 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,552 KB
testcase_01 AC 3 ms
4,712 KB
testcase_02 AC 3 ms
4,712 KB
testcase_03 AC 3 ms
4,424 KB
testcase_04 AC 2 ms
4,512 KB
testcase_05 AC 2 ms
4,692 KB
testcase_06 AC 2 ms
4,524 KB
testcase_07 AC 3 ms
4,704 KB
testcase_08 AC 3 ms
4,520 KB
testcase_09 AC 3 ms
4,696 KB
testcase_10 AC 2 ms
4,560 KB
testcase_11 AC 2 ms
4,452 KB
testcase_12 AC 3 ms
4,696 KB
testcase_13 AC 3 ms
4,572 KB
testcase_14 AC 2 ms
4,428 KB
testcase_15 AC 3 ms
4,576 KB
testcase_16 AC 2 ms
4,588 KB
testcase_17 AC 3 ms
4,428 KB
testcase_18 AC 2 ms
4,448 KB
testcase_19 AC 2 ms
4,564 KB
testcase_20 AC 3 ms
4,580 KB
testcase_21 AC 2 ms
4,636 KB
testcase_22 AC 2 ms
4,588 KB
testcase_23 AC 99 ms
16,968 KB
testcase_24 AC 104 ms
16,904 KB
testcase_25 AC 105 ms
17,108 KB
testcase_26 AC 103 ms
16,880 KB
testcase_27 AC 3 ms
4,568 KB
testcase_28 AC 2 ms
4,424 KB
testcase_29 AC 3 ms
4,556 KB
testcase_30 AC 44 ms
4,988 KB
testcase_31 AC 43 ms
5,192 KB
testcase_32 AC 43 ms
4,908 KB
testcase_33 AC 44 ms
5,444 KB
testcase_34 AC 44 ms
5,856 KB
testcase_35 AC 46 ms
5,584 KB
testcase_36 AC 45 ms
5,588 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[$b=$&]++if$b-$&/ger;print$d?$d>1|$b-$_?-1:1:0
0