結果
問題 | No.182 新規性の虜 |
ユーザー |
![]() |
提出日時 | 2016-06-23 17:22:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 123 ms / 5,000 ms |
コード長 | 200 bytes |
コンパイル時間 | 1,180 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 27,000 KB |
最終ジャッジ日時 | 2024-12-27 05:19:49 |
合計ジャッジ時間 | 3,348 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
from collections import defaultdict cnt = defaultdict(int) N = int(input()) for n in input().split(' '): cnt[int(n)] += 1 ans = 0 for t in cnt.values(): if t == 1: ans += 1 print(ans)