結果
問題 | No.182 新規性の虜 |
ユーザー |
|
提出日時 | 2022-03-24 22:58:33 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 89 ms / 5,000 ms |
コード長 | 197 bytes |
コンパイル時間 | 251 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 99,200 KB |
最終ジャッジ日時 | 2024-10-13 06:38:32 |
合計ジャッジ時間 | 3,021 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
N = int(input()) A = list(map(int,input().split())) from collections import defaultdict d = defaultdict(int) for a in A: d[a] += 1 ans = 0 for v in d.values(): if v == 1:ans += 1 print(ans)