結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2017-07-29 12:09:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 192 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 20,780 KB |
最終ジャッジ日時 | 2024-10-10 21:40:37 |
合計ジャッジ時間 | 2,887 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 27 |
ソースコード
#new N=int(input()) A=[int(i)for i in input().split()] A.sort() C=0 if A[0]!=A[1]: C+=1 for i in range(1,n-2): if A[i]!=[i-1] and A[i]!=[i+1]: C+=1 if A[i-2]!=A[i-1]: C+=1 print(C)