結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2018-01-17 02:17:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 119 ms / 5,000 ms |
コード長 | 209 bytes |
コンパイル時間 | 113 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 20,520 KB |
最終ジャッジ日時 | 2024-12-27 20:46:47 |
合計ジャッジ時間 | 2,975 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
N = int(input()) A = sorted([int(i) for i in input().split()]) count = 0 num = [] for i in range(1,N): if A[i-1] == A[i]: count +=1 num.append(A[i]) print(N - count - len(set(num)))