結果

問題 No.182 新規性の虜
ユーザー tnodinotnodino
提出日時 2022-07-10 11:54:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 88 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 10,484 KB
実行使用メモリ 23,528 KB
最終ジャッジ日時 2023-08-30 22:35:07
合計ジャッジ時間 2,952 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,384 KB
testcase_01 AC 17 ms
8,524 KB
testcase_02 AC 17 ms
8,540 KB
testcase_03 AC 18 ms
8,436 KB
testcase_04 AC 18 ms
8,524 KB
testcase_05 AC 18 ms
8,392 KB
testcase_06 AC 18 ms
8,536 KB
testcase_07 AC 18 ms
8,508 KB
testcase_08 AC 56 ms
17,000 KB
testcase_09 AC 83 ms
18,832 KB
testcase_10 AC 73 ms
18,948 KB
testcase_11 AC 65 ms
17,452 KB
testcase_12 AC 37 ms
13,004 KB
testcase_13 AC 18 ms
8,432 KB
testcase_14 AC 18 ms
8,524 KB
testcase_15 AC 17 ms
8,596 KB
testcase_16 AC 18 ms
8,608 KB
testcase_17 AC 18 ms
8,348 KB
testcase_18 AC 58 ms
16,696 KB
testcase_19 AC 47 ms
14,408 KB
testcase_20 AC 36 ms
11,956 KB
testcase_21 AC 64 ms
17,868 KB
testcase_22 AC 41 ms
13,068 KB
testcase_23 AC 18 ms
8,380 KB
testcase_24 AC 88 ms
23,528 KB
testcase_25 AC 53 ms
10,320 KB
testcase_26 AC 26 ms
10,144 KB
testcase_27 AC 18 ms
8,484 KB
evil01.txt AC 90 ms
23,728 KB
evil02.txt AC 92 ms
23,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict
N = int(input())
A = list(map(int,input().split()))
cnt = defaultdict(int)
for i in range(N):
    cnt[A[i]] += 1
v = list(cnt.values())
print(v.count(1))
0