結果

問題 No.182 新規性の虜
ユーザー nanaenanae
提出日時 2017-03-17 00:29:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 23,252 KB
最終ジャッジ日時 2023-08-27 14:39:07
合計ジャッジ時間 2,488 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,540 KB
testcase_01 AC 19 ms
8,584 KB
testcase_02 AC 19 ms
8,612 KB
testcase_03 AC 19 ms
8,560 KB
testcase_04 AC 19 ms
8,564 KB
testcase_05 AC 20 ms
8,492 KB
testcase_06 AC 19 ms
8,548 KB
testcase_07 AC 20 ms
8,448 KB
testcase_08 AC 52 ms
17,228 KB
testcase_09 AC 73 ms
18,796 KB
testcase_10 AC 62 ms
18,696 KB
testcase_11 AC 57 ms
16,600 KB
testcase_12 AC 35 ms
12,924 KB
testcase_13 AC 19 ms
8,452 KB
testcase_14 AC 19 ms
8,440 KB
testcase_15 AC 19 ms
8,420 KB
testcase_16 AC 19 ms
8,584 KB
testcase_17 AC 19 ms
8,376 KB
testcase_18 AC 51 ms
16,728 KB
testcase_19 AC 42 ms
14,336 KB
testcase_20 AC 33 ms
12,236 KB
testcase_21 AC 55 ms
17,976 KB
testcase_22 AC 38 ms
13,036 KB
testcase_23 AC 19 ms
8,552 KB
testcase_24 AC 76 ms
23,252 KB
testcase_25 AC 45 ms
10,292 KB
testcase_26 AC 25 ms
10,192 KB
testcase_27 AC 19 ms
8,628 KB
evil01.txt AC 75 ms
23,340 KB
evil02.txt AC 83 ms
23,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

N = int(input())
A = Counter([int(i) for i in input().split()])

ans = 0

for freq in A.values():
    if freq == 1:
        ans += 1

print(ans)
0