結果

問題 No.182 新規性の虜
ユーザー NagisaNagisa
提出日時 2015-09-07 21:24:56
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 182 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 21,488 KB
最終ジャッジ日時 2023-08-27 07:31:23
合計ジャッジ時間 2,435 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,788 KB
testcase_01 AC 16 ms
7,772 KB
testcase_02 AC 16 ms
7,724 KB
testcase_03 AC 16 ms
7,796 KB
testcase_04 AC 16 ms
7,904 KB
testcase_05 AC 16 ms
7,796 KB
testcase_06 AC 16 ms
7,796 KB
testcase_07 AC 16 ms
7,908 KB
testcase_08 AC 49 ms
15,284 KB
testcase_09 AC 74 ms
17,692 KB
testcase_10 AC 67 ms
16,948 KB
testcase_11 AC 54 ms
15,796 KB
testcase_12 AC 31 ms
11,648 KB
testcase_13 AC 16 ms
7,772 KB
testcase_14 AC 16 ms
7,772 KB
testcase_15 AC 16 ms
7,788 KB
testcase_16 AC 16 ms
7,820 KB
testcase_17 AC 16 ms
7,816 KB
testcase_18 AC 54 ms
14,248 KB
testcase_19 AC 44 ms
12,720 KB
testcase_20 AC 32 ms
10,640 KB
testcase_21 AC 61 ms
15,244 KB
testcase_22 AC 37 ms
11,484 KB
testcase_23 AC 16 ms
7,800 KB
testcase_24 AC 85 ms
21,488 KB
testcase_25 AC 48 ms
9,928 KB
testcase_26 AC 22 ms
9,320 KB
testcase_27 AC 16 ms
7,792 KB
evil01.txt AC 85 ms
22,736 KB
evil02.txt AC 86 ms
22,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = list(map(str, input().split()))
D = {}

for x in L:
    if not x in D:
        D[x] = 1
    else:
        D[x] += 1

E= [x for x in D if D[x] == 1]
print(len(E))
0