結果

問題 No.1924 3 color painting on a line
ユーザー tailstails
提出日時 2022-05-03 03:28:24
言語 Perl
(5.38.2)
結果
AC  
実行時間 147 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 11,708 KB
最終ジャッジ日時 2023-09-15 01:41:18
合計ジャッジ時間 6,027 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,660 KB
testcase_01 AC 3 ms
4,528 KB
testcase_02 AC 3 ms
4,768 KB
testcase_03 AC 146 ms
11,532 KB
testcase_04 AC 147 ms
11,660 KB
testcase_05 AC 144 ms
11,404 KB
testcase_06 AC 144 ms
11,656 KB
testcase_07 AC 145 ms
11,668 KB
testcase_08 AC 145 ms
11,428 KB
testcase_09 AC 143 ms
11,476 KB
testcase_10 AC 144 ms
11,444 KB
testcase_11 AC 146 ms
11,536 KB
testcase_12 AC 145 ms
11,544 KB
testcase_13 AC 147 ms
11,660 KB
testcase_14 AC 144 ms
11,668 KB
testcase_15 AC 145 ms
11,608 KB
testcase_16 AC 143 ms
11,708 KB
testcase_17 AC 145 ms
11,612 KB
testcase_18 AC 142 ms
11,444 KB
testcase_19 AC 141 ms
11,508 KB
testcase_20 AC 142 ms
11,416 KB
testcase_21 AC 144 ms
11,476 KB
testcase_22 AC 144 ms
11,556 KB
testcase_23 AC 51 ms
7,024 KB
testcase_24 AC 138 ms
11,124 KB
testcase_25 AC 105 ms
9,796 KB
testcase_26 AC 18 ms
5,492 KB
testcase_27 AC 81 ms
8,672 KB
testcase_28 AC 51 ms
6,884 KB
testcase_29 AC 33 ms
6,248 KB
testcase_30 AC 29 ms
6,056 KB
testcase_31 AC 29 ms
6,092 KB
testcase_32 AC 111 ms
9,892 KB
testcase_33 AC 91 ms
9,112 KB
testcase_34 AC 119 ms
10,168 KB
testcase_35 AC 97 ms
9,176 KB
testcase_36 AC 71 ms
8,132 KB
testcase_37 AC 76 ms
8,124 KB
testcase_38 AC 85 ms
8,692 KB
testcase_39 AC 19 ms
5,380 KB
testcase_40 AC 3 ms
4,532 KB
testcase_41 AC 59 ms
7,300 KB
testcase_42 AC 144 ms
11,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;$b^=(--$d>0&/$b/?W:($d+=2,$b))^$a,$a=$_ for@a=<>=~/(.)\1*/g;print@a/2+$d/6+1|0
0