結果

問題 No.182 新規性の虜
ユーザー teioteio
提出日時 2020-07-26 15:53:13
言語 Perl
(5.38.2)
結果
AC  
実行時間 113 ms / 5,000 ms
コード長 193 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 25,368 KB
最終ジャッジ日時 2023-09-11 02:02:50
合計ジャッジ時間 2,517 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,632 KB
testcase_01 AC 2 ms
4,692 KB
testcase_02 AC 2 ms
4,732 KB
testcase_03 AC 3 ms
4,504 KB
testcase_04 AC 3 ms
4,504 KB
testcase_05 AC 2 ms
4,512 KB
testcase_06 AC 3 ms
4,760 KB
testcase_07 AC 3 ms
4,568 KB
testcase_08 AC 55 ms
16,312 KB
testcase_09 AC 104 ms
24,016 KB
testcase_10 AC 89 ms
21,504 KB
testcase_11 AC 65 ms
17,916 KB
testcase_12 AC 25 ms
10,252 KB
testcase_13 AC 2 ms
4,484 KB
testcase_14 AC 2 ms
4,632 KB
testcase_15 AC 3 ms
4,668 KB
testcase_16 AC 3 ms
4,680 KB
testcase_17 AC 2 ms
4,688 KB
testcase_18 AC 40 ms
12,124 KB
testcase_19 AC 31 ms
10,344 KB
testcase_20 AC 22 ms
8,316 KB
testcase_21 AC 45 ms
12,956 KB
testcase_22 AC 25 ms
9,208 KB
testcase_23 AC 2 ms
4,508 KB
testcase_24 AC 113 ms
25,368 KB
testcase_25 AC 39 ms
12,468 KB
testcase_26 AC 12 ms
7,108 KB
testcase_27 AC 3 ms
4,628 KB
evil01.txt AC 132 ms
27,312 KB
evil02.txt AC 129 ms
27,332 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

# use strict;
# use warnings;

<>;
chomp(my $s = <>);
my @As = split(/\s/, $s);
my %d;
foreach (@As) {
    $d{$_}++;
}
my $c = 0;
foreach (values(%d)) {
    $c++ if $_ == 1;
}
print($c, "\n");
0