結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-04-16 23:23:59 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 110 ms / 5,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 942 ms |
| コンパイル使用メモリ | 6,784 KB |
| 実行使用メモリ | 20,276 KB |
| 最終ジャッジ日時 | 2024-12-26 18:41:48 |
| 合計ジャッジ時間 | 3,454 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
from collections import defaultdict
N = int(raw_input())
A = map(int, raw_input().split())
histo = defaultdict(int)
for a in A:
histo[a] += 1
ans = 0
for i in histo.values():
if i == 1:
ans += 1
print ans