結果

問題 No.1994 Confusing Name
ユーザー tailstails
提出日時 2022-07-01 21:30:20
言語 Perl
(5.38.2)
結果
AC  
実行時間 1,005 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 5,304 KB
実行使用メモリ 71,512 KB
最終ジャッジ日時 2023-08-17 08:49:02
合計ジャッジ時間 14,115 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,756 KB
testcase_01 AC 3 ms
4,488 KB
testcase_02 AC 2 ms
4,652 KB
testcase_03 AC 2 ms
4,772 KB
testcase_04 AC 2 ms
4,796 KB
testcase_05 AC 8 ms
5,124 KB
testcase_06 AC 13 ms
5,628 KB
testcase_07 AC 5 ms
4,676 KB
testcase_08 AC 11 ms
5,512 KB
testcase_09 AC 14 ms
5,752 KB
testcase_10 AC 8 ms
5,036 KB
testcase_11 AC 7 ms
5,052 KB
testcase_12 AC 721 ms
46,984 KB
testcase_13 AC 944 ms
68,020 KB
testcase_14 AC 939 ms
70,072 KB
testcase_15 AC 783 ms
60,632 KB
testcase_16 AC 655 ms
50,428 KB
testcase_17 AC 742 ms
55,500 KB
testcase_18 AC 991 ms
70,856 KB
testcase_19 AC 993 ms
71,212 KB
testcase_20 AC 1,005 ms
71,512 KB
testcase_21 AC 176 ms
16,784 KB
testcase_22 AC 79 ms
10,676 KB
testcase_23 AC 850 ms
58,084 KB
testcase_24 AC 798 ms
54,300 KB
testcase_25 AC 506 ms
38,088 KB
testcase_26 AC 242 ms
21,936 KB
testcase_27 AC 745 ms
50,604 KB
testcase_28 AC 556 ms
40,852 KB
testcase_29 AC 64 ms
9,728 KB
testcase_30 AC 599 ms
43,600 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 4.
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 8.
Main.pl syntax OK

ソースコード

diff #

<>;
@s=<>;
for(@s){
	s/./++$h{$`.A.$'}/ger;
}
for(@s){
	$n=0;
	s/./$n+=$h{$`.A.$'}-1/ger;
	print$n,$/;
}
0