結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2019-05-02 04:15:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 115 ms / 5,000 ms |
コード長 | 200 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 27,404 KB |
最終ジャッジ日時 | 2024-12-31 13:00:42 |
合計ジャッジ時間 | 2,901 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
N = int(input()) nums = map(int,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)