結果

問題 No.182 新規性の虜
ユーザー dangodango
提出日時 2023-06-06 15:55:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 10,660 KB
実行使用メモリ 23,292 KB
最終ジャッジ日時 2023-08-28 10:42:58
合計ジャッジ時間 2,361 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,556 KB
testcase_01 AC 17 ms
8,424 KB
testcase_02 AC 17 ms
8,444 KB
testcase_03 AC 18 ms
8,572 KB
testcase_04 AC 18 ms
8,456 KB
testcase_05 AC 17 ms
8,412 KB
testcase_06 AC 17 ms
8,588 KB
testcase_07 AC 17 ms
8,576 KB
testcase_08 AC 48 ms
16,944 KB
testcase_09 AC 70 ms
20,744 KB
testcase_10 AC 58 ms
18,652 KB
testcase_11 AC 53 ms
17,548 KB
testcase_12 AC 34 ms
13,672 KB
testcase_13 AC 17 ms
8,448 KB
testcase_14 AC 17 ms
8,508 KB
testcase_15 AC 17 ms
8,516 KB
testcase_16 AC 17 ms
8,564 KB
testcase_17 AC 17 ms
8,400 KB
testcase_18 AC 48 ms
16,668 KB
testcase_19 AC 42 ms
14,388 KB
testcase_20 AC 31 ms
12,280 KB
testcase_21 AC 53 ms
17,840 KB
testcase_22 AC 36 ms
13,144 KB
testcase_23 AC 18 ms
8,504 KB
testcase_24 AC 72 ms
23,292 KB
testcase_25 AC 43 ms
10,308 KB
testcase_26 AC 24 ms
10,136 KB
testcase_27 AC 18 ms
8,384 KB
evil01.txt AC 71 ms
23,420 KB
evil02.txt AC 72 ms
23,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
N = int(input())
A = list(map(int, input().split()))
B = [K for K, V in collections.Counter(A).items() if V > 1]
print(len(set(A)) - len(B))
0