結果

問題 No.182 新規性の虜
ユーザー 村上史弥村上史弥
提出日時 2022-12-02 08:24:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 161 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 25,364 KB
最終ジャッジ日時 2024-04-17 17:27:47
合計ジャッジ時間 2,380 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,624 KB
testcase_01 AC 27 ms
10,624 KB
testcase_02 AC 26 ms
10,624 KB
testcase_03 AC 27 ms
10,752 KB
testcase_04 AC 28 ms
10,624 KB
testcase_05 AC 27 ms
10,624 KB
testcase_06 AC 28 ms
10,624 KB
testcase_07 AC 27 ms
10,624 KB
testcase_08 AC 58 ms
19,584 KB
testcase_09 AC 77 ms
23,112 KB
testcase_10 AC 68 ms
20,012 KB
testcase_11 AC 62 ms
19,884 KB
testcase_12 AC 44 ms
15,976 KB
testcase_13 AC 27 ms
10,624 KB
testcase_14 AC 27 ms
10,752 KB
testcase_15 AC 27 ms
10,624 KB
testcase_16 AC 27 ms
10,624 KB
testcase_17 AC 27 ms
10,624 KB
testcase_18 AC 62 ms
17,964 KB
testcase_19 AC 53 ms
15,904 KB
testcase_20 AC 41 ms
14,260 KB
testcase_21 AC 67 ms
18,976 KB
testcase_22 AC 45 ms
14,864 KB
testcase_23 AC 27 ms
10,752 KB
testcase_24 AC 76 ms
25,364 KB
testcase_25 AC 54 ms
12,612 KB
testcase_26 AC 34 ms
12,556 KB
testcase_27 AC 28 ms
10,624 KB
evil01.txt AC 81 ms
25,924 KB
evil02.txt AC 83 ms
25,816 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