結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
koheijkt
|
| 提出日時 | 2025-11-27 09:48:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 5,000 ms |
| + 158µs | |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 99,600 KB |
| 最終ジャッジ日時 | 2026-07-17 00:08:45 |
| 合計ジャッジ時間 | 4,678 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
from collections import defaultdict
N = int(input())
A = list(map(int, input().split()))
d = defaultdict(int)
for a in A:
d[a] += 1
ans = 0
for k, v in d.items():
if v == 1:
ans += 1
print(ans)
koheijkt