結果

問題 No.182 新規性の虜
ユーザー 👑 yumechiyumechi
提出日時 2016-01-19 08:15:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 160 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 21,436 KB
最終ジャッジ日時 2023-08-27 09:17:05
合計ジャッジ時間 2,385 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 16 ms
7,816 KB
testcase_02 AC 15 ms
7,812 KB
testcase_03 AC 15 ms
7,952 KB
testcase_04 AC 17 ms
7,792 KB
testcase_05 AC 16 ms
7,944 KB
testcase_06 AC 16 ms
7,868 KB
testcase_07 AC 16 ms
7,852 KB
testcase_08 AC 42 ms
15,312 KB
testcase_09 AC 58 ms
17,524 KB
testcase_10 AC 53 ms
16,628 KB
testcase_11 AC 46 ms
15,736 KB
testcase_12 AC 28 ms
11,164 KB
testcase_13 AC 15 ms
7,988 KB
testcase_14 AC 16 ms
7,864 KB
testcase_15 AC 16 ms
7,968 KB
testcase_16 AC 15 ms
7,812 KB
testcase_17 AC 15 ms
7,804 KB
testcase_18 AC 44 ms
13,776 KB
testcase_19 AC 37 ms
12,320 KB
testcase_20 AC 28 ms
10,660 KB
testcase_21 AC 49 ms
14,468 KB
testcase_22 AC 32 ms
11,196 KB
testcase_23 AC 15 ms
7,868 KB
testcase_24 AC 72 ms
21,436 KB
testcase_25 AC 37 ms
9,436 KB
testcase_26 AC 20 ms
9,244 KB
testcase_27 AC 16 ms
7,872 KB
evil01.txt AC 69 ms
22,476 KB
evil02.txt AC 71 ms
22,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

num = int(input())
appeared = {}
for elem in input().split():
    appeared[elem] = appeared.get(elem, 0) + 1
print(sum([i for i in appeared.values() if i < 2]))
0