結果

問題 No.182 新規性の虜
ユーザー 村上史弥
提出日時 2022-12-02 08:24:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 161 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 25,272 KB
最終ジャッジ日時 2024-10-09 11:35:25
合計ジャッジ時間 2,811 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
N = int(input())
A = list(map(int, input().split()))

B = [k for k, v in collections.Counter(A).items() if v > 1]

print(len(set(A)) - len(B))
0