結果

問題 No.182 新規性の虜
ユーザー aqua_tenhou
提出日時 2021-07-11 23:16:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 204 bytes
コンパイル時間 170 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 96,256 KB
最終ジャッジ日時 2024-07-02 03:18:37
合計ジャッジ時間 3,034 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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