結果

問題 No.182 新規性の虜
ユーザー gorugo30
提出日時 2021-02-23 20:29:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 191 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,144 KB
実行使用メモリ 98,548 KB
最終ジャッジ日時 2024-09-22 14:53:18
合計ジャッジ時間 2,716 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
dic = {}
for i in range(N):
    dic[A[i]] = dic.get(A[i], 0) + 1
ans = 0
for v in dic.values():
    if v == 1:
        ans += 1
print(ans)
0