結果

問題 No.1924 3 color painting on a line
ユーザー tailstails
提出日時 2022-05-03 03:20:32
言語 Perl
(5.38.2)
結果
AC  
実行時間 147 ms / 2,000 ms
コード長 85 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 11,724 KB
最終ジャッジ日時 2023-09-15 01:31:12
合計ジャッジ時間 7,686 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,584 KB
testcase_01 AC 2 ms
4,752 KB
testcase_02 AC 3 ms
4,692 KB
testcase_03 AC 146 ms
11,540 KB
testcase_04 AC 146 ms
11,432 KB
testcase_05 AC 146 ms
11,672 KB
testcase_06 AC 145 ms
11,644 KB
testcase_07 AC 147 ms
11,664 KB
testcase_08 AC 146 ms
11,676 KB
testcase_09 AC 145 ms
11,544 KB
testcase_10 AC 146 ms
11,488 KB
testcase_11 AC 146 ms
11,672 KB
testcase_12 AC 146 ms
11,536 KB
testcase_13 AC 145 ms
11,464 KB
testcase_14 AC 146 ms
11,540 KB
testcase_15 AC 144 ms
11,508 KB
testcase_16 AC 145 ms
11,600 KB
testcase_17 AC 146 ms
11,724 KB
testcase_18 AC 146 ms
11,592 KB
testcase_19 AC 146 ms
11,460 KB
testcase_20 AC 144 ms
11,696 KB
testcase_21 AC 142 ms
11,556 KB
testcase_22 AC 144 ms
11,704 KB
testcase_23 AC 51 ms
7,064 KB
testcase_24 AC 138 ms
11,352 KB
testcase_25 AC 106 ms
9,728 KB
testcase_26 AC 19 ms
5,308 KB
testcase_27 AC 83 ms
8,360 KB
testcase_28 AC 52 ms
7,112 KB
testcase_29 AC 33 ms
6,244 KB
testcase_30 AC 30 ms
6,044 KB
testcase_31 AC 29 ms
6,008 KB
testcase_32 AC 112 ms
9,940 KB
testcase_33 AC 91 ms
9,076 KB
testcase_34 AC 119 ms
10,172 KB
testcase_35 AC 96 ms
9,188 KB
testcase_36 AC 72 ms
7,976 KB
testcase_37 AC 77 ms
8,260 KB
testcase_38 AC 87 ms
8,656 KB
testcase_39 AC 20 ms
5,664 KB
testcase_40 AC 4 ms
4,780 KB
testcase_41 AC 58 ms
7,304 KB
testcase_42 AC 145 ms
11,612 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

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