結果

問題 No.182 新規性の虜
ユーザー No-Ra
提出日時 2017-08-21 21:20:22
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 246 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 21,540 KB
最終ジャッジ日時 2024-10-15 00:54:13
合計ジャッジ時間 7,046 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 TLE * 1 -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
listA = [int(i) for i in input().split()]
listA.sort()

listA_uq = []
for _ in listA:
    if not _ in listA_uq:
        listA_uq.append(_)

count = 0
for _ in listA_uq:
    if listA.count(_) == 1:
        count += 1

print(count)
0