結果

問題 No.182 新規性の虜
ユーザー brthyyjpbrthyyjp
提出日時 2020-08-22 05:31:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 211 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,764 KB
実行使用メモリ 96,128 KB
最終ジャッジ日時 2024-10-15 06:44:46
合計ジャッジ時間 3,481 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int, input().split()))
d = {}
for a in A:
    if a not in d:
        d[a] = 1
    else:
        d[a] += 1

ans = 0
for k, v in d.items():
    if v == 1:
        ans += 1
print(ans)
0