結果

問題 No.182 新規性の虜
ユーザー akitsugu777akitsugu777
提出日時 2019-09-20 16:27:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 65 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 22,284 KB
最終ジャッジ日時 2023-10-12 08:05:02
合計ジャッジ時間 2,296 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,820 KB
testcase_01 AC 16 ms
7,836 KB
testcase_02 AC 15 ms
7,900 KB
testcase_03 AC 15 ms
7,796 KB
testcase_04 AC 15 ms
7,836 KB
testcase_05 AC 15 ms
7,952 KB
testcase_06 AC 15 ms
7,812 KB
testcase_07 AC 15 ms
7,828 KB
testcase_08 AC 44 ms
16,752 KB
testcase_09 AC 63 ms
18,584 KB
testcase_10 AC 56 ms
18,284 KB
testcase_11 AC 53 ms
18,220 KB
testcase_12 AC 29 ms
12,648 KB
testcase_13 AC 14 ms
7,808 KB
testcase_14 AC 15 ms
7,816 KB
testcase_15 AC 15 ms
7,836 KB
testcase_16 AC 15 ms
7,868 KB
testcase_17 AC 16 ms
7,832 KB
testcase_18 AC 50 ms
16,364 KB
testcase_19 AC 40 ms
14,140 KB
testcase_20 AC 31 ms
11,924 KB
testcase_21 AC 57 ms
17,600 KB
testcase_22 AC 34 ms
12,740 KB
testcase_23 AC 14 ms
7,836 KB
testcase_24 AC 65 ms
22,284 KB
testcase_25 AC 47 ms
9,904 KB
testcase_26 AC 20 ms
9,696 KB
testcase_27 AC 15 ms
7,800 KB
evil01.txt AC 67 ms
23,192 KB
evil02.txt AC 73 ms
23,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))

d = {}
for i in A:
    if not i in d:
        d[i] = 1
    else:
        d[i] = 0

print(sum(d.values()))
0