結果
| 問題 | 
                            No.182 新規性の虜
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-07-25 18:51:34 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 218 bytes | 
| コンパイル時間 | 118 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 17,068 KB | 
| 最終ジャッジ日時 | 2024-07-02 06:15:57 | 
| 合計ジャッジ時間 | 2,906 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 RE * 2 | 
ソースコード
input()
l=input().split()
_new=0
l.sort()
if l[0] != l[1]:
    _new=_new+1
for i in range(1,len(l)-1):
    if (l[i]!=l[i-1]) and (l[i] != l[i+1]):
        _new=_new+1
if l[-1] != l[-2]:
    _new=_new+1
    
print(_new)