結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2018-12-17 11:10:38 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 120 ms / 5,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 347 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 25,496 KB |
最終ジャッジ日時 | 2024-09-25 07:33:17 |
合計ジャッジ時間 | 3,056 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
n = int(input()) a = [int(x) for x in input().split()] res = 0 cnt = {} for ai in a: if ai not in cnt: cnt[ai] = 0 cnt[ai] += 1 for k,v in cnt.items(): if v == 1: res += 1 print(res)