結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-10 23:26:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 276 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 82,256 KB |
| 実行使用メモリ | 99,584 KB |
| 最終ジャッジ日時 | 2024-09-21 09:06:44 |
| 合計ジャッジ時間 | 3,722 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
# verification-helper: PROBLEM https://yukicoder.me/problems/no/182
from collections import defaultdict
n = int(input())
a = list(map(int, input().split()))
d = defaultdict(int)
for i in range(n):
d[a[i]] += 1
ans = 0
for i in d.values():
ans += i == 1
print(ans)