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