結果

問題 No.182 新規性の虜
ユーザー 👑 yumechiyumechi
提出日時 2015-06-08 22:34:15
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 97 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 25,928 KB
最終ジャッジ日時 2023-08-27 07:20:27
合計ジャッジ時間 2,644 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,692 KB
testcase_01 AC 16 ms
7,820 KB
testcase_02 AC 15 ms
7,772 KB
testcase_03 AC 16 ms
7,732 KB
testcase_04 AC 16 ms
7,732 KB
testcase_05 AC 16 ms
7,764 KB
testcase_06 AC 16 ms
7,696 KB
testcase_07 AC 16 ms
7,708 KB
testcase_08 AC 66 ms
17,356 KB
testcase_09 AC 96 ms
20,228 KB
testcase_10 AC 83 ms
19,500 KB
testcase_11 AC 71 ms
17,472 KB
testcase_12 AC 39 ms
12,624 KB
testcase_13 AC 16 ms
7,768 KB
testcase_14 AC 15 ms
7,692 KB
testcase_15 AC 15 ms
7,804 KB
testcase_16 AC 16 ms
7,692 KB
testcase_17 AC 16 ms
7,928 KB
testcase_18 AC 66 ms
14,204 KB
testcase_19 AC 52 ms
12,684 KB
testcase_20 AC 38 ms
10,884 KB
testcase_21 AC 71 ms
14,752 KB
testcase_22 AC 43 ms
11,552 KB
testcase_23 AC 16 ms
7,760 KB
testcase_24 AC 97 ms
25,928 KB
testcase_25 AC 62 ms
9,168 KB
testcase_26 AC 25 ms
9,544 KB
testcase_27 AC 16 ms
7,764 KB
evil01.txt AC 103 ms
26,564 KB
evil02.txt AC 111 ms
26,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
d = {}
for c in input().split():
    i = int(c)
    if i not in d:
        d.update({i:1})
    else:
        d[i] += 1
print(sum([1 for i in d.values() if i == 1]))
0