結果

問題 No.182 新規性の虜
ユーザー turner18_jp
提出日時 2017-10-02 01:16:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 170 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 25,280 KB
最終ジャッジ日時 2024-11-15 21:52:35
合計ジャッジ時間 2,809 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
nums = list(map(int, input().split()))
li = {}
count = 0
for i in nums:
    if not i in li:
        li[i] = "0"
    else:
        li[i] = int(li[i]) + 1

for value in li:
    if value == 1:
        count += 1

print(count)
0