結果

問題 No.2419 MMA文字列2
ユーザー tailstails
提出日時 2023-08-13 01:12:35
言語 Perl
(5.38.2)
結果
AC  
実行時間 226 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 23,936 KB
最終ジャッジ日時 2024-04-30 19:48:46
合計ジャッジ時間 3,970 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
6,816 KB
testcase_01 AC 3 ms
6,940 KB
testcase_02 AC 4 ms
6,940 KB
testcase_03 AC 4 ms
6,944 KB
testcase_04 AC 4 ms
6,940 KB
testcase_05 AC 3 ms
6,940 KB
testcase_06 AC 4 ms
6,940 KB
testcase_07 AC 3 ms
6,940 KB
testcase_08 AC 3 ms
6,940 KB
testcase_09 AC 3 ms
6,940 KB
testcase_10 AC 3 ms
6,940 KB
testcase_11 AC 3 ms
6,944 KB
testcase_12 AC 52 ms
9,472 KB
testcase_13 AC 11 ms
6,944 KB
testcase_14 AC 97 ms
13,184 KB
testcase_15 AC 62 ms
10,240 KB
testcase_16 AC 104 ms
13,440 KB
testcase_17 AC 33 ms
7,936 KB
testcase_18 AC 107 ms
13,952 KB
testcase_19 AC 113 ms
14,208 KB
testcase_20 AC 37 ms
8,320 KB
testcase_21 AC 27 ms
7,296 KB
testcase_22 AC 221 ms
23,808 KB
testcase_23 AC 221 ms
23,808 KB
testcase_24 AC 221 ms
23,680 KB
testcase_25 AC 225 ms
23,808 KB
testcase_26 AC 29 ms
7,680 KB
testcase_27 AC 223 ms
23,936 KB
testcase_28 AC 226 ms
23,552 KB
testcase_29 AC 222 ms
23,680 KB
testcase_30 AC 225 ms
23,680 KB
testcase_31 AC 225 ms
23,680 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>=~s/./
	$z+=$y-$b{$&};
	$y+=$a{$&};
	$b{$&}+=$a{$&};
	$a{$&}+=1;
/ger;
print$z;
0