結果

問題 No.182 新規性の虜
ユーザー iad_2889iad_2889
提出日時 2019-05-02 04:17:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 27,376 KB
最終ジャッジ日時 2024-12-31 13:01:13
合計ジャッジ時間 3,126 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
#nums = map(int,input().split())
nums = [int(x) for x in input().split()]
num_dict = {}
for num in nums:
    num_dict.setdefault(num,0)
    num_dict[num]+=1
newly = len([x for x in num_dict.items() if x[1] == 1])
print(newly)
0