結果

問題 No.182 新規性の虜
コンテスト
ユーザー 学ぶマン
提出日時 2025-11-27 09:48:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 5,000 ms
コード長 209 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 82,352 KB
実行使用メモリ 100,216 KB
最終ジャッジ日時 2025-11-27 09:48:47
合計ジャッジ時間 3,565 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

from collections import defaultdict
N = int(input())
A = list(map(int, input().split()))
d = defaultdict(int)
for a in A:
    d[a] += 1
ans = 0
for k, v in d.items():
    if v == 1:
        ans += 1
print(ans)
0