結果

問題 No.182 新規性の虜
ユーザー nohakai3nohakai3
提出日時 2022-08-10 13:24:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 93 ms / 5,000 ms
コード長 173 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 11,628 KB
実行使用メモリ 27,816 KB
最終ジャッジ日時 2023-10-20 23:23:26
合計ジャッジ時間 2,857 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,992 KB
testcase_01 AC 25 ms
9,992 KB
testcase_02 AC 24 ms
9,992 KB
testcase_03 AC 25 ms
9,992 KB
testcase_04 AC 23 ms
9,992 KB
testcase_05 AC 26 ms
9,992 KB
testcase_06 AC 25 ms
9,992 KB
testcase_07 AC 28 ms
9,992 KB
testcase_08 AC 69 ms
19,564 KB
testcase_09 AC 93 ms
24,304 KB
testcase_10 AC 83 ms
19,920 KB
testcase_11 AC 71 ms
19,804 KB
testcase_12 AC 47 ms
16,556 KB
testcase_13 AC 25 ms
9,992 KB
testcase_14 AC 24 ms
9,992 KB
testcase_15 AC 27 ms
9,992 KB
testcase_16 AC 24 ms
9,992 KB
testcase_17 AC 25 ms
9,992 KB
testcase_18 AC 57 ms
18,220 KB
testcase_19 AC 48 ms
15,932 KB
testcase_20 AC 40 ms
14,332 KB
testcase_21 AC 59 ms
19,400 KB
testcase_22 AC 41 ms
14,516 KB
testcase_23 AC 27 ms
9,992 KB
testcase_24 AC 89 ms
27,816 KB
testcase_25 AC 48 ms
11,788 KB
testcase_26 AC 31 ms
12,028 KB
testcase_27 AC 24 ms
9,992 KB
evil01.txt AC 89 ms
28,080 KB
evil02.txt AC 94 ms
28,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

n=int(input())
A=list(map(int,input().split()))

c=Counter(A)

l2=list(set(A))
ans=0
for x in l2:
    if c[x]==1:
        ans+=1

print(ans)
0