結果

問題 No.182 新規性の虜
ユーザー _KingdomOfMoray_KingdomOfMoray
提出日時 2019-12-22 13:58:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 252 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 10,632 KB
実行使用メモリ 23,592 KB
最終ジャッジ日時 2023-10-12 06:11:35
合計ジャッジ時間 2,782 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,464 KB
testcase_01 AC 18 ms
8,420 KB
testcase_02 AC 17 ms
8,496 KB
testcase_03 AC 18 ms
8,580 KB
testcase_04 AC 18 ms
8,476 KB
testcase_05 AC 17 ms
8,464 KB
testcase_06 AC 18 ms
8,404 KB
testcase_07 AC 18 ms
8,516 KB
testcase_08 AC 57 ms
17,040 KB
testcase_09 AC 85 ms
18,864 KB
testcase_10 AC 71 ms
18,788 KB
testcase_11 AC 63 ms
17,592 KB
testcase_12 AC 36 ms
13,112 KB
testcase_13 AC 18 ms
8,520 KB
testcase_14 AC 18 ms
8,432 KB
testcase_15 AC 18 ms
8,536 KB
testcase_16 AC 18 ms
8,436 KB
testcase_17 AC 18 ms
8,472 KB
testcase_18 AC 49 ms
16,728 KB
testcase_19 AC 41 ms
14,304 KB
testcase_20 AC 33 ms
12,036 KB
testcase_21 AC 53 ms
17,860 KB
testcase_22 AC 37 ms
13,024 KB
testcase_23 AC 18 ms
8,472 KB
testcase_24 AC 83 ms
23,592 KB
testcase_25 AC 41 ms
10,308 KB
testcase_26 AC 26 ms
10,140 KB
testcase_27 AC 19 ms
8,464 KB
evil01.txt AC 86 ms
23,664 KB
evil02.txt AC 90 ms
23,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

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

a_clc = collections.Counter(a_list)

count = 0
for cur in a_clc.keys():
    num_cur = a_clc[cur]
    
    if num_cur == 1:
        count += 1
        
res = count

print(res)
0