結果

問題 No.182 新規性の虜
ユーザー iad_2889iad_2889
提出日時 2019-05-02 04:17:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 99 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 10,556 KB
実行使用メモリ 24,156 KB
最終ジャッジ日時 2023-08-30 04:36:23
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,776 KB
testcase_01 AC 16 ms
7,800 KB
testcase_02 AC 16 ms
7,772 KB
testcase_03 AC 16 ms
7,864 KB
testcase_04 AC 16 ms
7,888 KB
testcase_05 AC 16 ms
7,792 KB
testcase_06 AC 16 ms
7,960 KB
testcase_07 AC 16 ms
7,808 KB
testcase_08 AC 61 ms
16,768 KB
testcase_09 AC 90 ms
20,360 KB
testcase_10 AC 78 ms
19,024 KB
testcase_11 AC 67 ms
18,160 KB
testcase_12 AC 39 ms
12,688 KB
testcase_13 AC 16 ms
7,816 KB
testcase_14 AC 16 ms
7,780 KB
testcase_15 AC 16 ms
7,824 KB
testcase_16 AC 16 ms
7,828 KB
testcase_17 AC 16 ms
7,776 KB
testcase_18 AC 62 ms
16,352 KB
testcase_19 AC 49 ms
14,168 KB
testcase_20 AC 37 ms
12,076 KB
testcase_21 AC 69 ms
17,608 KB
testcase_22 AC 41 ms
12,604 KB
testcase_23 AC 16 ms
7,808 KB
testcase_24 AC 99 ms
24,156 KB
testcase_25 AC 57 ms
9,872 KB
testcase_26 AC 25 ms
9,752 KB
testcase_27 AC 16 ms
7,808 KB
evil01.txt AC 101 ms
24,684 KB
evil02.txt AC 110 ms
24,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
#nums = map(int,input().split())
nums = [int(x) for x in input().split()]
num_dict = {}
for num in nums:
    num_dict.setdefault(num,0)
    num_dict[num]+=1
newly = len([x for x in num_dict.items() if x[1] == 1])
print(newly)
0