結果

問題 No.182 新規性の虜
ユーザー ABKZ
提出日時 2023-01-08 22:06:43
言語 PyPy3
(7.3.15)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 231 bytes
コンパイル時間 620 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 86,784 KB
最終ジャッジ日時 2024-12-16 01:54:46
合計ジャッジ時間 33,368 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24 TLE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
dup = []
unq = []

for x in A:
    if x in dup:
        continue
    if x in unq:
        unq.remove(x)
        dup.append(x)
        continue
    unq.append(x)

print(len(unq))
0